We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5111e44 commit 333ad5fCopy full SHA for 333ad5f
bin/v-update-sys-hestia-git
@@ -91,6 +91,13 @@ branch=$2
91
install=$3
92
flags=$4
93
94
+# Allow the use of username:branch instead of username branch
95
+# Both fork and branch names can't contain a : anyway
96
+if [ -z "$branch" ]; then
97
+ branch = $(echo "$fork" | cut -d ":" -f2)
98
+ fork = $(echo "$fork" | cut -d ":" -f1)
99
+fi
100
+
101
# Set Version for compiling
102
BUILD_VER=$(curl -s https://raw.githubusercontent.com/$fork/hestiacp/$branch/src/deb/hestia/control | grep "Version:" | cut -d' ' -f2)
103
HESTIA_V="${BUILD_VER}_${BUILD_ARCH}"
0 commit comments