|
@@ -109,7 +109,7 @@ else
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -z "$2" ]; then
|
|
if [ ! -z "$2" ]; then
|
|
|
- branch_check=$(curl -s --head -w %{http_code} https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/hestia/control -o /dev/null)
|
|
|
|
|
|
|
+ branch_check=$(curl -s --head -w %{http_code} https://raw.githubusercontent.com/$fork/hestiacp/$branch/src/deb/hestia/control -o /dev/null)
|
|
|
if [ $branch_check -ne "200" ]; then
|
|
if [ $branch_check -ne "200" ]; then
|
|
|
echo "ERROR: invalid branch name specified."
|
|
echo "ERROR: invalid branch name specified."
|
|
|
exit 1
|
|
exit 1
|