Skip to content

Commit 6938a4f

Browse files
committed
Fix issue when dowloading branch of not "hestiacp" owned branch
1 parent b27cc66 commit 6938a4f

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
@@ -109,7 +109,7 @@ else
109109
fi
110110

111111
if [ ! -z "$2" ]; then
112-
branch_check=$(curl -s --head -w %{http_code} https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/hestia/control -o /dev/null)
112+
branch_check=$(curl -s --head -w %{http_code} https://raw.githubusercontent.com/$fork/hestiacp/$branch/src/deb/hestia/control -o /dev/null)
113113
if [ $branch_check -ne "200" ]; then
114114
echo "ERROR: invalid branch name specified."
115115
exit 1

0 commit comments

Comments
 (0)