define branch if not on master

This commit is contained in:
tb14
2025-06-30 22:40:36 -05:00
parent 98fd4905b6
commit 3e11238ad8
+1 -1
View File
@@ -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