|
|
@@ -54,6 +54,10 @@ BUILD_DIR='/tmp/hestiacp-src/'
|
|
|
DEB_DIR="$BUILD_DIR/debs/"
|
|
|
INSTALL_DIR='/usr/local/hestia'
|
|
|
|
|
|
+# Set command variables
|
|
|
+branch=$1
|
|
|
+install=$2
|
|
|
+
|
|
|
# Set Version for compiling
|
|
|
BUILD_VER=$(curl -s https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/hestia/control | grep "Version:" | cut -d' ' -f2)
|
|
|
BUILD_ARCH='amd64'
|
|
|
@@ -76,9 +80,6 @@ timestamp() {
|
|
|
date +%s
|
|
|
}
|
|
|
|
|
|
-branch=$1
|
|
|
-install=$2
|
|
|
-
|
|
|
# Set install flags
|
|
|
if [ ! -z "$1" ]; then
|
|
|
branch_check=$(curl -s --head -w %{http_code} https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/hestia/control -o /dev/null)
|