Skip to content

Commit d0f7518

Browse files
committed
Prepare support for Debian Buster release.
1 parent b0840bb commit d0f7518

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

install/hst-install-debian.sh

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,7 @@ pma_v='4.8.5'
2626
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3")
2727
fpm_v="7.3"
2828

29-
if [ "$release" -eq 9 ]; then
30-
software="nginx apache2 apache2-utils apache2-suexec-custom
31-
libapache2-mod-ruid2 libapache2-mod-fcgid libapache2-mod-php php
32-
php-common php-cgi php-mysql php-curl php-pgsql php-imap php-ldap php-apcu
33-
awstats vsftpd proftpd-basic bind9 exim4 exim4-daemon-heavy
34-
clamav-daemon spamassassin dovecot-imapd dovecot-pop3d roundcube-core net-tools
35-
roundcube-mysql roundcube-plugins mariadb-client mariadb-common
36-
mariadb-server postgresql postgresql-contrib phppgadmin phpmyadmin mc
37-
flex whois rssh git idn zip sudo bc ftp lsof ntpdate rrdtool quota
38-
e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban dnsutils
39-
bsdmainutils cron hestia hestia-nginx hestia-php expect libmail-dkim-perl
40-
unrar-free vim-common"
41-
else
29+
if [ "$release" -eq 8 ]; then
4230
software="nginx apache2 apache2-utils apache2.2-common
4331
apache2-suexec-custom libapache2-mod-ruid2
4432
libapache2-mod-fcgid libapache2-mod-php5 php5 php5-common php5-cgi
@@ -51,6 +39,18 @@ else
5139
e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban dnsutils
5240
bsdmainutils cron hestia hestia-nginx hestia-php expect libmail-dkim-perl
5341
unrar-free vim-common"
42+
else
43+
software="nginx apache2 apache2-utils apache2-suexec-custom
44+
libapache2-mod-ruid2 libapache2-mod-fcgid libapache2-mod-php php
45+
php-common php-cgi php-mysql php-curl php-pgsql php-imap php-ldap php-apcu
46+
awstats vsftpd proftpd-basic bind9 exim4 exim4-daemon-heavy
47+
clamav-daemon spamassassin dovecot-imapd dovecot-pop3d roundcube-core net-tools
48+
roundcube-mysql roundcube-plugins mariadb-client mariadb-common
49+
mariadb-server postgresql postgresql-contrib phppgadmin phpmyadmin mc
50+
flex whois rssh git idn zip sudo bc ftp lsof ntpdate rrdtool quota
51+
e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban dnsutils
52+
bsdmainutils cron hestia hestia-nginx hestia-php expect libmail-dkim-perl
53+
unrar-free vim-common"
5454
fi
5555

5656
# Defining help function
@@ -589,6 +589,11 @@ if [ "$release" -eq 8 ]; then
589589
echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
590590
fi
591591

592+
# Installing Backport repo for debian 10
593+
if [ "$release" -eq 10 ]; then
594+
echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
595+
fi
596+
592597
# Installing hestia repo
593598
echo "(*) Hestia Control Panel"
594599
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list

0 commit comments

Comments
 (0)