mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 19:14:27 +05:00
simple startup update check for KIAUH
This commit is contained in:
@@ -6,6 +6,14 @@ update_check(){
|
||||
read_remote_commit
|
||||
}
|
||||
|
||||
update_kiauh(){
|
||||
if [ $KIAUH_UPDATE_AVAIL = 1 ]; then
|
||||
status_msg "Updating KIAUH ..."
|
||||
cd ${HOME}/kiauh
|
||||
git pull && ok_msg "Update complete! Please restart KIAUH."; echo
|
||||
fi
|
||||
}
|
||||
|
||||
update_klipper(){
|
||||
stop_klipper
|
||||
bb4u "klipper"
|
||||
|
||||
Reference in New Issue
Block a user