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 6bbc5bc commit 55bd148Copy full SHA for 55bd148
bin/v-update-sys-hestia-git
@@ -54,6 +54,10 @@ BUILD_DIR='/tmp/hestiacp-src/'
54
DEB_DIR="$BUILD_DIR/debs/"
55
INSTALL_DIR='/usr/local/hestia'
56
57
+# Set command variables
58
+branch=$1
59
+install=$2
60
+
61
# Set Version for compiling
62
BUILD_VER=$(curl -s https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/hestia/control | grep "Version:" | cut -d' ' -f2)
63
BUILD_ARCH='amd64'
@@ -76,9 +80,6 @@ timestamp() {
76
80
date +%s
77
81
}
78
82
79
-branch=$1
-install=$2
-
83
# Set install flags
84
if [ ! -z "$1" ]; then
85
branch_check=$(curl -s --head -w %{http_code} https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/hestia/control -o /dev/null)
0 commit comments