mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 18:44:29 +05:00
remove: update check for branch dev-2.0
abandon the dev-2.0 branch
This commit is contained in:
@@ -1,17 +1,11 @@
|
|||||||
kiauh_status(){
|
kiauh_status(){
|
||||||
if [ -d "${HOME}/kiauh/.git" ]; then
|
if [ -d "${SRCDIR}/kiauh/.git" ]; then
|
||||||
cd ${HOME}/kiauh
|
cd ${HOME}/kiauh
|
||||||
git fetch --all -q
|
git fetch -q
|
||||||
if git branch -a | grep "* master" -q; then
|
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
|
if [[ "$(git rev-parse --short=8 origin/master)" != "$(git rev-parse --short=8 HEAD)" ]]; then
|
||||||
KIAUH_UPDATE_AVAIL="true"
|
KIAUH_UPDATE_AVAIL="true"
|
||||||
fi
|
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
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ quit_footer(){
|
|||||||
hr
|
hr
|
||||||
echo -e "| ${red}Q) Quit${default} | "
|
echo -e "| ${red}Q) Quit${default} | "
|
||||||
bottom_border
|
bottom_border
|
||||||
echo -e " KIAUH: $CURR_KIAUH_BRANCH"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
print_header(){
|
print_header(){
|
||||||
|
|||||||
Reference in New Issue
Block a user