diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-07-23 18:31:22 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-07-23 18:31:22 +0800 |
| commit | 4afee5b56a43050c560303e028b1014fdd0732ff (patch) | |
| tree | a289591cb92de0745b59b7770dc8912324e02699 /update.sh | |
| parent | 80fe88409c8e8837d90a92f2cbcff94d345fb632 (diff) | |
updated
Diffstat (limited to 'update.sh')
| -rwxr-xr-x | update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,5 +10,5 @@ if [ -f /var/lib/pacman/db.lck ]; then fi fi -sudo npm update -g & nix-env -u & brew update & blck=$! & yay -Sl > /tmp/yaySl & yay -Ss > /tmp/yaySs & yay --noconfirm --disable-download-timeout & wait "$blck" && 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 & brew update & 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 +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 +#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 |
