Add sxmo_upgrade.sh

This commit is contained in:
Miles Alan 2020-03-21 15:56:41 -05:00
parent 6420bf14e7
commit be3fbd72c4
2 changed files with 7 additions and 0 deletions

View file

@ -15,6 +15,7 @@ programchoicesinit() {
Brightness ↓ ^ 1 ^ sxmo_brightness.sh down
Wifi ^ 0 ^ st -e "nmtui"
Rotate ^ 1 ^ rotate
Upgrade Pkgs ^ 0 ^ st -e sxmo_upgrade.sh
Logout ^ 0 ^ pkill -9 dwm
Close Menu ^ 0 ^ quit
")" && WINNAME=sys

6
scripts/sxmo_upgrade.sh Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env sh
echo "Updating all packages from repositories"
sudo apk update
echo "Upgrading all packages"
sudo apk upgrade