diff --git a/scripts/install_klipperscreen.sh b/scripts/install_klipperscreen.sh old mode 100644 new mode 100755 diff --git a/scripts/update.sh b/scripts/update.sh index de9e306..9a795df 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -2,6 +2,8 @@ update_kiauh(){ if [ "$KIAUH_UPDATE_AVAIL" = "true" ]; then status_msg "Updating KIAUH ..." cd ${HOME}/kiauh + ### force reset kiauh before updating + git reset --hard git pull && ok_msg "Update complete! Please restart KIAUH." exit -1 fi