trb.sh: sudo check defaults to gksudo

This commit is contained in:
mollusk 2017-05-21 20:13:55 -07:00
parent 3b097993b2
commit 1db3c2493f

6
trb.sh
View File

@ -7,10 +7,10 @@ fi
distro=$(lsb_release -a | grep -o "VoidLinux") distro=$(lsb_release -a | grep -o "VoidLinux")
if [ $distro = "VoidLinux" ];then if [ $distro = "Solus" ];then
su_prompt="gksudo"
else
su_prompt="pkexec" su_prompt="pkexec"
else
su_prompt="gksudo"
fi fi
zenity --question --text "Do you want to trim?" zenity --question --text "Do you want to trim?"