소스 검색

Changing password_vesta_host to server hostname during installation

Ported from Debian installer
dpeca 9 년 전
부모
커밋
4f54ff4f3f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      install/vst-install-rhel.sh

+ 1 - 0
install/vst-install-rhel.sh

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