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