|
@@ -8,7 +8,7 @@
|
|
|
export PATH=$PATH:/sbin
|
|
export PATH=$PATH:/sbin
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
RHOST='apt.hestiacp.com'
|
|
RHOST='apt.hestiacp.com'
|
|
|
-CHOST='c.hestiacp.com'
|
|
|
|
|
|
|
+GPG='gpg.hestiacp.com'
|
|
|
VERSION='ubuntu'
|
|
VERSION='ubuntu'
|
|
|
HESTIA='/usr/local/hestia'
|
|
HESTIA='/usr/local/hestia'
|
|
|
memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
|
|
memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
|
|
@@ -253,7 +253,7 @@ if [ ! -e '/usr/bin/wget' ]; then
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
# Checking repository availability
|
|
# Checking repository availability
|
|
|
-wget -q "https://gpg.hestiacp.com/deb_signing.key" -O /dev/null
|
|
|
|
|
|
|
+wget -q "https://$GPG/deb_signing.key" -O /dev/null
|
|
|
check_result $? "No access to Hestia repository"
|
|
check_result $? "No access to Hestia repository"
|
|
|
|
|
|
|
|
# Checking installed packages
|
|
# Checking installed packages
|