trb.sh: sudo check defaults to gksudo
This commit is contained in:
parent
3b097993b2
commit
1db3c2493f
6
trb.sh
6
trb.sh
@ -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?"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user