diff --git a/scripts/Common/OS/install.fish b/scripts/Common/OS/install.fish index 35b7d33e..11c6eabd 100755 --- a/scripts/Common/OS/install.fish +++ b/scripts/Common/OS/install.fish @@ -24,7 +24,7 @@ if [ (id -u) -eq 0 ] echo "$name ALL=(ALL:ALL) NOPASSWD: ALL" end > "$sudoConfig" - and sudo --preserve-env="CONFIG_NAME" --user "$name" "$INSTALLER_SCRIPT" + and sudo --preserve-env --set-home --user "$name" "$INSTALLER_SCRIPT" rm "$sudoConfig" userdel -rf "$name" else