Browse Source

Merge pull request #974 from hestiacp/fix/2007-07_fix-unable-download-fork-branch

Fix/2007 07 fix unable download fork branch
Raphael Schneeberger 5 years ago
parent
commit
fe401850d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-update-sys-hestia-git

+ 1 - 1
bin/v-update-sys-hestia-git

@@ -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