Skip to content

Commit 30832e5

Browse files
ioannidesalexKristan Kenney
authored andcommitted
Minor code comment/style fixes in hst-install-ubuntu.sh
1 parent 301b1a5 commit 30832e5

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

install/hst-install-ubuntu.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ if [ -d /etc/netplan ] && [ -z "$force" ]; then
357357
echo
358358
echo '!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!'
359359
echo
360-
check_result 1 "Unable to detect netplan configuration."
360+
check_result 1 "Unable to detect netplan configuration."
361361
fi
362362
fi
363363

@@ -554,7 +554,6 @@ APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /tmp/nginx_signing.key > /dev
554554
echo "(*) PHP"
555555
LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php > /dev/null 2>&1
556556

557-
558557
# Installing MariaDB repo
559558
echo "(*) MariaDB"
560559
echo "deb [arch=amd64] http://ams2.mirrors.digitalocean.com/mariadb/repo/10.3/$VERSION $codename main" > $apt/mariadb.list
@@ -647,7 +646,7 @@ if [ "$multiphp" = 'yes' ]; then
647646
php$v-gd php$v-intl php$v-mysql php$v-soap php$v-xml php$v-zip
648647
php$v-mbstring php$v-json php$v-bz2 php$v-pspell"
649648
# Check is version is 7.1 or below to add mcrypt
650-
if [[ `echo "$v 7.2" | awk '{print ($1 < $2)}'` == 1 ]]; then
649+
if [[ `echo "$v 7.2" | awk '{print ($1 < $2)}'` == 1 ]]; then
651650
mph="$mph php$v-mcrypt"
652651
fi
653652
software="$software $mph"
@@ -1337,7 +1336,7 @@ if [ "$named" = 'yes' ]; then
13371336
if [ $? -ne 0 ]; then
13381337
service apparmor restart
13391338
fi
1340-
fi
1339+
fi
13411340
update-rc.d bind9 defaults
13421341
service bind9 start
13431342
check_result $? "bind9 start failed"
@@ -1511,7 +1510,7 @@ if [ "$fail2ban" = 'yes' ]; then
15111510
fline=$(cat /etc/fail2ban/jail.local |grep -n vsftpd-iptables -A 2)
15121511
fline=$(echo "$fline" |grep enabled |tail -n1 |cut -f 1 -d -)
15131512
sed -i "${fline}s/false/true/" /etc/fail2ban/jail.local
1514-
fi
1513+
fi
15151514
update-rc.d fail2ban defaults
15161515
service fail2ban start
15171516
check_result $? "fail2ban start failed"
@@ -1651,7 +1650,7 @@ fi
16511650
# Sending notification to admin email
16521651
echo -e "Congratulations!
16531652
1654-
You have successfully installed Hestia Control Panel on your server.
1653+
You have successfully installed Hestia Control Panel on your server.
16551654
16561655
Ready to get started? Log in using the following credentials:
16571656

0 commit comments

Comments
 (0)