Skip to content

Commit 675daf6

Browse files
author
Kristan Kenney
committed
Merge branch 'bugfix-installer' into develop
2 parents dcedd43 + f1e5566 commit 675daf6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

install/hst-install-debian.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,6 @@ sed -i "s/rdAuthentication no/rdAuthentication yes/g" /etc/ssh/sshd_config
894894
# Enable SFTP subsystem for SSH
895895
sftp_subsys_enabled=$(grep -iE "^#?.*subsystem.+(sftp )?sftp-server" /etc/ssh/sshd_config)
896896
if [ ! -z "$sftp_subsys_enabled" ]; then
897-
echo "(*) Updating SFTP subsystem configuration..."
898897
sed -i -E "s/^#?.*Subsystem.+(sftp )?sftp-server/Subsystem sftp internal-sftp/g" /etc/ssh/sshd_config
899898
fi
900899

@@ -1117,7 +1116,6 @@ if [ "$nginx" = 'yes' ]; then
11171116
cp -f $hestiacp/nginx/status.conf /etc/nginx/conf.d/
11181117
cp -f $hestiacp/nginx/phpmyadmin.inc /etc/nginx/conf.d/
11191118
cp -f $hestiacp/nginx/phppgadmin.inc /etc/nginx/conf.d/
1120-
cp -f $hestiacp/nginx/webmail.inc /etc/nginx/conf.d/
11211119
cp -f $hestiacp/logrotate/nginx /etc/logrotate.d/
11221120
mkdir -p /etc/nginx/conf.d/domains
11231121
mkdir -p /var/log/nginx/domains
@@ -1508,6 +1506,9 @@ if [ "$dovecot" = 'yes' ] && [ "$mysql" = 'yes' ]; then
15081506
cp -f $hestiacp/roundcube/apache.conf /etc/roundcube/
15091507
ln -s /etc/roundcube/apache.conf /etc/apache2/conf.d/roundcube.conf
15101508
fi
1509+
if [ "$nginx" = 'yes' ]; then
1510+
cp -f $hestiacp/nginx/webmail.inc /etc/nginx/conf.d/
1511+
fi
15111512
cp -f $hestiacp/roundcube/main.inc.php /etc/roundcube/config.inc.php
15121513
cp -f $hestiacp/roundcube/db.inc.php /etc/roundcube/debian-db-roundcube.php
15131514
cp -f $hestiacp/roundcube/config.inc.php /etc/roundcube/plugins/password/

install/hst-install-ubuntu.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,6 @@ sed -i "s/rdAuthentication no/rdAuthentication yes/g" /etc/ssh/sshd_config
868868
# Enable SFTP subsystem for SSH
869869
sftp_subsys_enabled=$(grep -iE "^#?.*subsystem.+(sftp )?sftp-server" /etc/ssh/sshd_config)
870870
if [ ! -z "$sftp_subsys_enabled" ]; then
871-
echo "(*) Updating SFTP subsystem configuration..."
872871
sed -i -E "s/^#?.*Subsystem.+(sftp )?sftp-server/Subsystem sftp internal-sftp/g" /etc/ssh/sshd_config
873872
fi
874873

@@ -1086,7 +1085,6 @@ if [ "$nginx" = 'yes' ]; then
10861085
cp -f $hestiacp/nginx/status.conf /etc/nginx/conf.d/
10871086
cp -f $hestiacp/nginx/phpmyadmin.inc /etc/nginx/conf.d/
10881087
cp -f $hestiacp/nginx/phppgadmin.inc /etc/nginx/conf.d/
1089-
cp -f $hestiacp/nginx/webmail.inc /etc/nginx/conf.d/
10901088
cp -f $hestiacp/logrotate/nginx /etc/logrotate.d/
10911089
mkdir -p /etc/nginx/conf.d/domains
10921090
mkdir -p /var/log/nginx/domains
@@ -1462,6 +1460,9 @@ if [ "$dovecot" = 'yes' ] && [ "$mysql" = 'yes' ]; then
14621460
cp -f $hestiacp/roundcube/apache.conf /etc/roundcube/
14631461
ln -s /etc/roundcube/apache.conf /etc/apache2/conf.d/roundcube.conf
14641462
fi
1463+
if [ "$nginx" = 'yes' ]; then
1464+
cp -f $hestiacp/nginx/webmail.inc /etc/nginx/conf.d/
1465+
fi
14651466
cp -f $hestiacp/roundcube/main.inc.php /etc/roundcube/config.inc.php
14661467
cp -f $hestiacp/roundcube/db.inc.php /etc/roundcube/debian-db-roundcube.php
14671468
cp -f $hestiacp/roundcube/config.inc.php /etc/roundcube/plugins/password/

0 commit comments

Comments
 (0)