Skip to content

Commit d3f32a3

Browse files
authored
Installation script fails on Debian 10
The installation script fails on Debian 10 because the packages list assigned to the variable "software" include "setpriv" which is not available in Debian 10 it was replaced with the package "util-linux", so the following line " 856 apt-get -y install $software > /dev/null 2>&1 &" fails quietly without any errors or warnings. it wasn't easy to figure out what the issue.
1 parent dd7b4c7 commit d3f32a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ elif [ "$release" -eq 9 ]; then
5151
e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban dnsutils
5252
bsdmainutils cron hestia hestia-nginx hestia-php expect libmail-dkim-perl
5353
unrar-free vim-common acl sysstat rsyslog setpriv"
54-
else
54+
elif [ "$release" -eq 10 ]; then
5555
software="nginx apache2 apache2-utils apache2-suexec-custom
5656
apache2-suexec-pristine libapache2-mod-fcgid libapache2-mod-php php
5757
php-common php-cgi php-mysql php-curl php-pgsql php-imap php-ldap php-apcu
@@ -62,7 +62,7 @@ else
6262
flex whois git idn zip sudo bc ftp lsof ntpdate rrdtool quota
6363
e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban dnsutils
6464
bsdmainutils cron hestia hestia-nginx hestia-php expect libmail-dkim-perl
65-
unrar-free vim-common acl sysstat rsyslog setpriv"
65+
unrar-free vim-common acl sysstat rsyslog util-linux"
6666
fi
6767

6868
# Defining help function

0 commit comments

Comments
 (0)