Forcibly remove setup user
This commit is contained in:
parent
7f9dbe459e
commit
32fabaf42a
|
@ -26,7 +26,7 @@ if [ (id -u) -eq 0 ]
|
||||||
|
|
||||||
and sudo --preserve-env="CONFIG_NAME" --user "$name" "$INSTALLER_SCRIPT"
|
and sudo --preserve-env="CONFIG_NAME" --user "$name" "$INSTALLER_SCRIPT"
|
||||||
rm "$sudoConfig"
|
rm "$sudoConfig"
|
||||||
userdel -r "$name"
|
userdel -rf "$name"
|
||||||
else
|
else
|
||||||
source "$dir/../Software/bash/main.fish"
|
source "$dir/../Software/bash/main.fish"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue