bugfix: kiauh status check prevents kiauh from starting if no kiauh .git directory present

This commit is contained in:
th33xitus
2020-09-06 11:16:34 +02:00
parent 53f4b9a9f5
commit c98584dde8

View File

@@ -1,4 +1,5 @@
kiauh_status(){
if [ -d {$HOME}/kiauh/.git ]; then
cd ${HOME}/kiauh
git fetch --all -q
if git branch -a | grep "* master" -q; then
@@ -12,6 +13,7 @@ kiauh_status(){
KIAUH_UPDATE_AVAIL="true"
fi
fi
fi
}
klipper_status(){