Skip to content

Commit

Permalink
Fixed script (numixproject#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTheMagnus authored Mar 20, 2020
1 parent 24e5f6c commit c213b67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numix-folders
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -321,3 +321,4 @@ echo "Folder change complete!"
} > "$config_file"
chown -R "$cuser" "$config_file"
sucess

0 comments on commit c213b67

Please sign in to comment.