Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
f245db71d7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 # Set install flags
 if [ ! -z "$1" ]; then
 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
     if [ $fork_check -ne "200" ]; then
         echo "ERROR: invalid repository name specified."
         echo "ERROR: invalid repository name specified."
         exit 1
         exit 1