|
|
@@ -37,6 +37,7 @@ if [ -z "$branch" ]; then
|
|
|
exit
|
|
|
else
|
|
|
# Check that requested branch exists
|
|
|
+ echo "Checking for existence of $branch branch..."
|
|
|
branch_check=$(curl -s --head -w %{http_code} https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/hestia/control -o /dev/null)
|
|
|
if [ $branch_check -ne "200" ]; then
|
|
|
echo "Error: invalid branch name specified."
|
|
|
@@ -48,7 +49,7 @@ else
|
|
|
|
|
|
# Set new branch variable
|
|
|
echo "RELEASE_BRANCH='$branch'" >> $HESTIA/conf/hestia.conf
|
|
|
- echo "Changed system to follow release branch: $branch"
|
|
|
+ echo "Changed system release to update from Git branch: $branch"
|
|
|
fi
|
|
|
|
|
|
#----------------------------------------------------------#
|