From 16eb1b79154a5a12a758a93574c9703f60da44c8 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Sat, 2 Mar 2024 08:38:58 +0100 Subject: [PATCH] Updates --- scripts/installupdates.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/scripts/installupdates.sh b/scripts/installupdates.sh index e404002..1f78dd8 100755 --- a/scripts/installupdates.sh +++ b/scripts/installupdates.sh @@ -31,15 +31,14 @@ _isInstalledYay() { if gum confirm "DO YOU WANT TO START THE UPDATE NOW?" ;then echo - echo "Update started." + echo ":: Update started." elif [ $? -eq 130 ]; then exit 130 else echo - echo "Update canceled." + echo ":: Update canceled." exit; fi -echo "" if [[ $(_isInstalledYay "timeshift") == "0" ]] ;then if gum confirm "DO YOU WANT TO CREATE A SNAPSHOT?" ;then @@ -48,13 +47,13 @@ if [[ $(_isInstalledYay "timeshift") == "0" ]] ;then sudo timeshift --create --comments "$c" sudo timeshift --list sudo grub-mkconfig -o /boot/grub/grub.cfg - echo "DONE. Snapshot $c created!" + echo ":: DONE. Snapshot $c created!" echo elif [ $? -eq 130 ]; then - echo "Snapshot canceled." + echo ":: Snapshot canceled." exit 130 else - echo "Snapshot canceled." + echo ":: Snapshot canceled." fi echo fi @@ -62,3 +61,6 @@ fi yay notify-send "Update complete" +echo +echo ":: Update complete" +sleep 2