From 1db3c2493f379618ea15e30af9cd050a355fe5bc Mon Sep 17 00:00:00 2001 From: mollusk Date: Sun, 21 May 2017 20:13:55 -0700 Subject: [PATCH] trb.sh: sudo check defaults to gksudo --- trb.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trb.sh b/trb.sh index 65efc04..a1f0f7a 100755 --- a/trb.sh +++ b/trb.sh @@ -7,10 +7,10 @@ fi distro=$(lsb_release -a | grep -o "VoidLinux") -if [ $distro = "VoidLinux" ];then - su_prompt="gksudo" -else +if [ $distro = "Solus" ];then su_prompt="pkexec" +else + su_prompt="gksudo" fi zenity --question --text "Do you want to trim?"