From bd876c744db7124cbd6440aba4bc2ee50d1a7f03 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Thu, 17 Sep 2020 18:49:58 +0200 Subject: [PATCH] remove: update check for branch dev-2.0 abandon the dev-2.0 branch --- scripts/status.sh | 10 ++-------- scripts/ui/general_ui.sh | 1 - 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/scripts/status.sh b/scripts/status.sh index 2862ff3..8c0879a 100755 --- a/scripts/status.sh +++ b/scripts/status.sh @@ -1,17 +1,11 @@ kiauh_status(){ - if [ -d "${HOME}/kiauh/.git" ]; then + if [ -d "${SRCDIR}/kiauh/.git" ]; then cd ${HOME}/kiauh - git fetch --all -q + git fetch -q if git branch -a | grep "* master" -q; then - CURR_KIAUH_BRANCH="master" #needed to display branch in UI if [[ "$(git rev-parse --short=8 origin/master)" != "$(git rev-parse --short=8 HEAD)" ]]; then KIAUH_UPDATE_AVAIL="true" fi - elif git branch -a | grep "* dev-2.0" -q; then - CURR_KIAUH_BRANCH="dev-2.0" #needed to display branch in UI - if [[ "$(git rev-parse --short=8 origin/dev-2.0)" != "$(git rev-parse --short=8 HEAD)" ]]; then - KIAUH_UPDATE_AVAIL="true" - fi fi fi } diff --git a/scripts/ui/general_ui.sh b/scripts/ui/general_ui.sh index 865af8d..1867a44 100755 --- a/scripts/ui/general_ui.sh +++ b/scripts/ui/general_ui.sh @@ -15,7 +15,6 @@ quit_footer(){ hr echo -e "| ${red}Q) Quit${default} | " bottom_border - echo -e " KIAUH: $CURR_KIAUH_BRANCH" } print_header(){