From 865961a698ba0cce4943cf08d03d0017048cd67e Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 18 May 2024 19:10:00 +0800 Subject: updates --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update.sh') diff --git a/update.sh b/update.sh index 7d6a7ba..74312fd 100755 --- a/update.sh +++ b/update.sh @@ -10,5 +10,5 @@ if [ -f /var/lib/pacman/db.lck ]; then fi fi -tldr --update & sudo npm update -g & nix-env -u & /usr/local/linuxbrew/bin/brew update & blck=$! & yay -Sl > /tmp/yaySl & yay -Ss > /tmp/yaySs & yay --noconfirm --disable-download-timeout & wait $blck && /usr/local/linuxbrew/bin/brew upgrade || sudo /sbin/touch /tmp/lock/updatefail.lock # notify-send -u critical "Auto-Updater" "Update Faild!" # pipx upgrade-all +tldr --update & sudo npm update -g & nix-env -u & /usr/local/linuxbrew/bin/brew update & blck=$! & yay -Sl > /tmp/yaySl & yay -Ss > /tmp/yaySs & yay --noconfirm --disable-download-timeout & wait $blck && /opt/homebrew/bin/brew upgrade || sudo /sbin/touch /tmp/lock/updatefail.lock # 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 & /usr/local/linuxbrew/bin/brew update & /usr/local/linuxbrew/bin/brew upgrade & 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