Skip to content
Permalink
Browse files
feature: add dynamic install
  • Loading branch information
usmannasir committed Jan 29, 2020
1 parent b6b80e9 commit 13fd534495e857817d4813fa63b51c191e66665e
Showing with 5 additions and 2 deletions.
  1. +1 −1 cyberpanel.sh
  2. +4 −1 cyberpanel_upgrade.sh
@@ -34,7 +34,7 @@ REDIS="ON"
TOTAL_RAM=$(free -m | awk '/Mem\:/ { print $2 }')
CENTOS_8="False"
WATCHDOG="OFF"
BRANCH_NAME="stable"
BRANCH_NAME=${TEMP:12:3}.${TEMP:25:1}

check_return() {
#check previous command result , 0 = ok , non-0 = something wrong.
@@ -5,7 +5,10 @@ export LC_CTYPE=en_US.UTF-8
SUDO_TEST=$(set)
SERVER_OS='Undefined'
OUTPUT=$(cat /etc/*release)
BRANCH_NAME="v1.9.4"
TEMP=$(curl --silent https://cyberpanel.net/version.txt)
CP_VER1=${TEMP:12:3}
CP_VER2=${TEMP:25:1}
BRANCH_NAME=${TEMP:12:3}.${TEMP:25:1}

install_utility() {
if [[ ! -f /usr/bin/cyberpanel_utility ]] ; then

0 comments on commit 13fd534

Please sign in to comment.