fix: kiauh update function #9

Merged
dw-0 merged 1 commits from master into dev-2.0 2020-08-15 20:13:26 +02:00

View File

@@ -1,5 +1,5 @@
update_kiauh(){ update_kiauh(){
if [ $KIAUH_UPDATE_AVAIL -gt 0 ]; then if [ "$KIAUH_UPDATE_AVAIL" = "true" ]; then
status_msg "Updating KIAUH ..." status_msg "Updating KIAUH ..."
cd ${HOME}/kiauh cd ${HOME}/kiauh
git pull && ok_msg "Update complete! Please restart KIAUH." git pull && ok_msg "Update complete! Please restart KIAUH."