Created
August 18, 2024 19:27
-
-
Save PortalMario/ecb966d420c34d4773324848ae486deb to your computer and use it in GitHub Desktop.
update
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 | |
if [ "$USER" != "root" ]; then | |
echo "You need to be root." | |
exit 1 | |
fi | |
sudo apt update && sudo apt full-upgrade -y | |
sudo apt autoremove -y | |
snap refresh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment