Update dialog-success.sh
This commit is contained in:
parent
5763d32ca3
commit
c6a938f2a0
@ -1,11 +1,16 @@
|
||||
#! /bin/bash
|
||||
|
||||
WHO=$(whoami)
|
||||
if [[ $WHO == "pikaos" ]]; then
|
||||
zenity --info --text ""$1" has been processed successfully."
|
||||
else
|
||||
if echo $1 | grep -i mesa
|
||||
then
|
||||
true
|
||||
zenity --info --text ""$1" has been processed successfully."
|
||||
else
|
||||
if zenity --question --text ""$1" has been processed successfully. Would you like to reboot for changes to take effect?"
|
||||
then
|
||||
systemctl reboot
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user