mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
define branch if not on master
This commit is contained in:
@@ -94,7 +94,7 @@ function check_for_updates() {
|
|||||||
if [ "$BRANCH" != "master" ]
|
if [ "$BRANCH" != "master" ]
|
||||||
then
|
then
|
||||||
|
|
||||||
echo -e ${ERROR}Not on master. Ignoring version checking. Manually ensure you have ran git pull to update the scripts. ${NOCOLOR}
|
echo -e ${ERROR}Currently on $BRANCH branch. Ignoring version checking. Manually ensure you have ran git pull to update the scripts. ${NOCOLOR}
|
||||||
echo
|
echo
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user