Update ability added. Normally this will be placed in /opt/configure-stormux, so update requires sudo.

This commit is contained in:
Storm Dragon 2021-10-24 01:14:51 -04:00
parent f2cb2c6e06
commit 72a9cf4517

View File

@ -63,6 +63,10 @@ while [[ "$choice" != "Exit" ]]; do
"Set up gaming") "Set up gaming")
source .includes/gaming.sh source .includes/gaming.sh
;; ;;
"Update configure-stormux")
sudo git pull
exit $?
;;
esac esac
choice="$(menulist \ choice="$(menulist \
"Change username" \ "Change username" \
@ -71,7 +75,7 @@ while [[ "$choice" != "Exit" ]]; do
"Install Ratpoison Windowmanager" \ "Install Ratpoison Windowmanager" \
"Screen reader" \ "Screen reader" \
"Set up gaming" \ "Set up gaming" \
"Exit" \ "Update configure-stormux" \
)" || break )" || break
done done