From c213b67a4f846f131d8eb80c00ae04e15dcbe0bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Alejandro=20Luque=20Le=C3=B3n?= Date: Fri, 20 Mar 2020 17:34:27 +0100 Subject: [PATCH] Fixed script (#190) --- 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 +