Add update option

This commit is contained in:
Skylar Grant 2023-01-22 22:43:31 -05:00
parent 38b767034d
commit f4cfbb71cf
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,7 @@ Please enter an option from below:
[1] Launch Hestia Web Portal
[2] Quit Hestia Web Portal
[3] View the logs
[4] Update Hestia
[0] Quit Control Panel"
@ -67,6 +68,10 @@ case "$opt" in
clear
less log.txt
;;
4)
# Update Hestia
git pull && ./hestia.sh
;;
0)
# Exit the script
clear