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

Merge pull request #1269 from hestiacp/fix/2020-10-v-update-sys-hestia-git

[Fix] v-update-sys-hestia-git switch over release to main branch
Raphael Schneeberger 5 лет назад
Родитель
Сommit
6d34a92e45
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
 # 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