Add sxmo_upgrade.sh
This commit is contained in:
parent
6420bf14e7
commit
be3fbd72c4
2 changed files with 7 additions and 0 deletions
|
@ -15,6 +15,7 @@ programchoicesinit() {
|
||||||
Brightness ↓ ^ 1 ^ sxmo_brightness.sh down
|
Brightness ↓ ^ 1 ^ sxmo_brightness.sh down
|
||||||
Wifi ^ 0 ^ st -e "nmtui"
|
Wifi ^ 0 ^ st -e "nmtui"
|
||||||
Rotate ^ 1 ^ rotate
|
Rotate ^ 1 ^ rotate
|
||||||
|
Upgrade Pkgs ^ 0 ^ st -e sxmo_upgrade.sh
|
||||||
Logout ^ 0 ^ pkill -9 dwm
|
Logout ^ 0 ^ pkill -9 dwm
|
||||||
Close Menu ^ 0 ^ quit
|
Close Menu ^ 0 ^ quit
|
||||||
")" && WINNAME=sys
|
")" && WINNAME=sys
|
||||||
|
|
6
scripts/sxmo_upgrade.sh
Executable file
6
scripts/sxmo_upgrade.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue