diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-06-07 17:48:09 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-06-07 17:48:09 +0800 |
| commit | 470a9106d391424c43a5640a646f37b1e5d28fcd (patch) | |
| tree | 0e8ff63cff46f95224812755058496ae1bec12ac /update.sh | |
| parent | f798244d6c3a3f0a686622435f1c1ce9353bcf93 (diff) | |
bump
Diffstat (limited to 'update.sh')
| -rwxr-xr-x | update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,9 +6,9 @@ if [ -f /var/lib/pacman/db.lck ]; then sleep 60 if [ -f /var/lib/pacman/db.lck ]; then notify-send "db.lck still exist, forcfully removing..." - sudo rm -f /var/lib/pacman/db.lck + sudo -n rm -f /var/lib/pacman/db.lck 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 && /opt/homebrew/bin/brew upgrade & flatpak update -y & tldr -u|| sudo /sbin/touch /tmp/lock/updatefail.lock # notify-send -u critical "Auto-Updater" "Update Faild!" # pipx upgrade-all +tldr --update & sudo -n 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 & flatpak update -y & tldr -u|| sudo -n /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 |
