From 8c77a6981602d68e953f1395ce63e0ddb7cfd953 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 25 Jun 2023 21:57:04 +0800 Subject: improved scripts syntax and made them more logical --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update.sh') diff --git a/update.sh b/update.sh index 0933e19..ce0b676 100755 --- a/update.sh +++ b/update.sh @@ -7,4 +7,4 @@ if [ -f /var/lib/pacman/db.lck ]; then sudo rm -f /var/lib/pacman/db.lck fi fi -notify-send "Auto-Updater" "Update in progress, please don't poweroff the computer" && sudo npm update -g & nix-env -u & brew update & yay -Sl > /tmp/yaySl & yay -Ss > /tmp/yaySs & yay -Syu --noconfirm --disable-download-timeout && flatpak update -y && notify-send -u low "Auto-Updater" "Update Successfully!" || notify-send -u critical "Auto-Updater" "Update Faild!" # pipx upgrade-all +notify-send "Auto-Updater" "Update in progress, please don't poweroff the computer" && sudo npm update -g & nix-env -u & brew update & yay -Sl > /tmp/yaySl & yay -Ss > /tmp/yaySs & yay -Syu --noconfirm --disable-download-timeout && notify-send -u low "Auto-Updater" "Update Successfully!" || notify-send -u critical "Auto-Updater" "Update Faild!" # pipx upgrade-all -- cgit v1.2.3