Просмотр исходного кода

Changed release to main branch

For forks has no "release" branch defined. As a branch need to be supplied. Switch the "release" branch check to main branch check as this is the branch all the changes are based on.
Jaap Marcus 5 лет назад
Родитель
Сommit
f245db71d7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      bin/v-update-sys-hestia-git

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

@@ -96,7 +96,7 @@ timestamp() {
 
 # Set install flags
 if [ ! -z "$1" ]; then
-    fork_check=$(curl -s --head -w %{http_code} https://raw.githubusercontent.com/$fork/hestiacp/release/src/deb/hestia/control -o /dev/null)
+    fork_check=$(curl -s --head -w %{http_code} https://raw.githubusercontent.com/$fork/hestiacp/main/src/deb/hestia/control -o /dev/null)
     if [ $fork_check -ne "200" ]; then
         echo "ERROR: invalid repository name specified."
         exit 1