mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-15 19:44:29 +05:00
@@ -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."
|
||||||
@@ -71,4 +71,4 @@ update_moonraker(){
|
|||||||
fi
|
fi
|
||||||
ok_msg "Update complete!"
|
ok_msg "Update complete!"
|
||||||
start_moonraker && sleep 2 && start_klipper
|
start_moonraker && sleep 2 && start_klipper
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user