Skip to content

Commit f245db7

Browse files
authored
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.
1 parent f755067 commit f245db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-update-sys-hestia-git

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ timestamp() {
9696

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

0 commit comments

Comments
 (0)