-
-
Save s-leon/f7b41e2e147717db496628fce4a34ebd to your computer and use it in GitHub Desktop.
oS TW update script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo -s <<EOF | |
zypper dup -l -y --no-recommends --allow-downgrade --allow-arch-change --force-resolution | |
flatpak update -y --noninteractive --force-remove | |
flatpak remove --unused --delete-data -y | |
#flatpak repair | |
journalctl --rotate | |
journalctl --vacuum-time=2d | |
zypper clean | |
rm -rfv /var/tmp/flatpak-cache-* | |
rm -rfv /var/lib/flatpak/repo/tmp/* | |
fwupdmgr refresh --force | |
fwupdmgr update | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment