Simplify command
This commit is contained in:
parent
8bceb30872
commit
20358c7781
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if [ ! "$UID" -eq 0 ]
|
|||
then
|
||||
sudo NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" bash "$BASH_SOURCE" "$USER";
|
||||
else
|
||||
homeDir="$(sudo -u "$1" bash -c 'realpath ~')";
|
||||
homeDir="$(realpath ~$1)";
|
||||
fontFileBaseName="Caskaydia Cove Regular Nerd Font Complete.otf";
|
||||
tempFile="$(sudo -u "$1" mktemp -d)/$fontFileBaseName";
|
||||
destination=/usr/share/font/opentype;
|
||||
|
|
Loading…
Reference in a new issue