Fix/2007 07 fix unable download fork branch
@@ -109,7 +109,7 @@ else
fi
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
echo "ERROR: invalid branch name specified."
exit 1