@@ -26,19 +26,7 @@ pma_v='4.8.5'
2626multiphp_v=(" 5.6" " 7.0" " 7.1" " 7.2" " 7.3" )
2727fpm_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
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"
5454fi
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
590590fi
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
593598echo " (*) Hestia Control Panel"
594599echo " deb https://$RHOST / $codename main" > $apt /hestia.list
0 commit comments