From c6a938f2a02dcf990c37d5fbd867808832f3d371 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Wed, 21 Feb 2024 00:47:27 +0300 Subject: [PATCH] Update dialog-success.sh --- data/dialog-success.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data/dialog-success.sh b/data/dialog-success.sh index a507436..04c7a56 100755 --- a/data/dialog-success.sh +++ b/data/dialog-success.sh @@ -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