From be3fbd72c4515b0a583cbe349bd50a4ec325c665 Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Sat, 21 Mar 2020 15:56:41 -0500 Subject: [PATCH] Add sxmo_upgrade.sh --- scripts/sxmo_appmenu.sh | 1 + scripts/sxmo_upgrade.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100755 scripts/sxmo_upgrade.sh diff --git a/scripts/sxmo_appmenu.sh b/scripts/sxmo_appmenu.sh index e1e368a..c0aa431 100755 --- a/scripts/sxmo_appmenu.sh +++ b/scripts/sxmo_appmenu.sh @@ -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 diff --git a/scripts/sxmo_upgrade.sh b/scripts/sxmo_upgrade.sh new file mode 100755 index 0000000..9bac5c8 --- /dev/null +++ b/scripts/sxmo_upgrade.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh +echo "Updating all packages from repositories" +sudo apk update + +echo "Upgrading all packages" +sudo apk upgrade