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?"