Skip to content

Commit c50a4fc

Browse files
committed
Remove chost and add gpg var.
1 parent 9aaa49a commit c50a4fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
export PATH=$PATH:/sbin
99
export DEBIAN_FRONTEND=noninteractive
1010
RHOST='apt.hestiacp.com'
11-
CHOST='c.hestiacp.com'
11+
GPG='gpg.hestiacp.com'
1212
VERSION='debian'
1313
HESTIA='/usr/local/hestia'
1414
memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
@@ -274,7 +274,7 @@ if [ ! -e '/usr/bin/wget' ]; then
274274
fi
275275

276276
# Checking repository availability
277-
wget -q "https://gpg.hestiacp.com/deb_signing.key" -O /dev/null
277+
wget -q "https://$GPG/deb_signing.key" -O /dev/null
278278
check_result $? "No access to Hestia repository"
279279

280280
# Check installed packages

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
export PATH=$PATH:/sbin
99
export DEBIAN_FRONTEND=noninteractive
1010
RHOST='apt.hestiacp.com'
11-
CHOST='c.hestiacp.com'
11+
GPG='gpg.hestiacp.com'
1212
VERSION='ubuntu'
1313
HESTIA='/usr/local/hestia'
1414
memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
@@ -253,7 +253,7 @@ if [ ! -e '/usr/bin/wget' ]; then
253253
fi
254254

255255
# Checking repository availability
256-
wget -q "https://gpg.hestiacp.com/deb_signing.key" -O /dev/null
256+
wget -q "https://$GPG/deb_signing.key" -O /dev/null
257257
check_result $? "No access to Hestia repository"
258258

259259
# Checking installed packages

0 commit comments

Comments
 (0)