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