Fix incorrect variable handling
This commit is contained in:
parent
e8a85b2b50
commit
14e07a15b4
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ NEXTCLOUD_DIR="${NEXTCLOUD_DIR}";
|
|||
# Elevate script
|
||||
if [ ! "$UID" -eq 0 ]
|
||||
then
|
||||
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" sudo bash "$BASH_SOURCE" "$USER";
|
||||
sudo NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" bash "$BASH_SOURCE" "$USER";
|
||||
else
|
||||
homeDir="$(sudo -u "$1" bash -c 'realpath ~')";
|
||||
fontFileBaseName="Caskaydia Cove Regular Nerd Font Complete.otf";
|
||||
|
|
Loading…
Reference in a new issue