Changing password_vesta_host to server hostname during installation

Ported from Debian installer
This commit is contained in:
dpeca 2016-10-24 22:19:24 +02:00 committed by GitHub
commit 4f54ff4f3f

View file

@ -1159,6 +1159,7 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
cd /usr/share/roundcubemail/plugins/password
wget $vestacp/roundcube/vesta.php -O drivers/vesta.php
wget $vestacp/roundcube/config.inc.php -O config.inc.php
sed -i "s/localhost/$servername/g" /usr/share/roundcubemail/plugins/password/config.inc.php
chmod a+r /etc/roundcubemail/*
chmod -f 777 /var/log/roundcubemail
r="$(gen_pass)"