Merge remote-tracking branch 'origin/master' into kiauh-rework

This commit is contained in:
th33xitus
2021-01-25 19:01:55 +01:00
9 changed files with 11 additions and 17 deletions

View File

@@ -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