fix: should fix #65

This commit is contained in:
th33xitus
2021-01-31 13:32:16 +01:00
parent d0b895a469
commit dc08d8e7e3
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
kiauh_status(){
if [ -d "${SRCDIR}/kiauh/.git" ]; then
cd ${HOME}/kiauh
git fetch -q
cd ${SRCDIR}/kiauh
if git branch -a | grep "* master" -q; then
git fetch -q
if [[ "$(git rev-parse --short=8 origin/master)" != "$(git rev-parse --short=8 HEAD)" ]]; then
KIAUH_UPDATE_AVAIL="true"
fi