fix: kiauh update function

This commit is contained in:
th33xitus
2020-08-15 19:27:29 +02:00
committed by GitHub
parent 3076d400a0
commit 82408fee2e

View File

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