From 4616884ef4a20737aec40b33945f3f326c36ab8d Mon Sep 17 00:00:00 2001 From: AlexTheMagnus Date: Fri, 6 Mar 2020 15:46:55 +0100 Subject: [PATCH] Fixed script --- numix-folders | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/numix-folders b/numix-folders index 7bff7ac97..3fb13f0eb 100755 --- a/numix-folders +++ b/numix-folders @@ -90,7 +90,7 @@ if [ "$runmode" -eq 2 ]; then elif [ -d /usr/share/icons/Numix/ ]; then if [[ $UID -ne 0 ]]; then scriptname=$(readlink -f "$0") - exec gksudo "$scriptname" + pkexec "$scriptname" else dir=/usr/share/icons fi @@ -321,3 +321,4 @@ echo "Folder change complete!" } > "$config_file" chown -R "$cuser" "$config_file" sucess +