diff --git a/jessie/alternc.install b/jessie/alternc.install index 3aff0f1d..5d35007b 100644 --- a/jessie/alternc.install +++ b/jessie/alternc.install @@ -320,7 +320,7 @@ if [ -x /usr/sbin/apache2 ]; then fi # We enable dovecot SSL certificate instructions: (on wheezy we should use a new file in /etc/dovecot/conf.d/ ) - ( echo "ssl_cert = /etc/dovecot/conf.d/96_ssl.conf + ( echo "# Don't change this file, it will be overwriten by alternc.install. Change ssl parameters in a file named 99_ssl.conf instead" ; echo "ssl_cert = /etc/dovecot/conf.d/96_ssl.conf else # We disable proftpd tls module @@ -329,7 +329,7 @@ if [ -x /usr/sbin/apache2 ]; then cp /etc/proftpd/modules.conf /etc/alternc/templates/proftpd/ # We disable dovecot SSL certificate instructions: (on wheezy we should remove a file in /etc/dovecot/conf.d/ ) - ( echo "ssl_cert = /etc/dovecot/conf.d/96_ssl.conf + ( echo "# Don't change this file, it will be overwriten by alternc.install. Change ssl parameters in a file named 99_ssl.conf instead" ; echo "ssl_cert = /etc/dovecot/conf.d/96_ssl.conf echo "SSL not configured" echo "create a certificate in /etc/alternc/apache.pem and rerun alternc.install" @@ -636,10 +636,10 @@ done # Fix some perms # Fix phpmyadmin import trac#1557 test -d "/var/lib/phpmyadmin/tmp" && dpkg-statoverride --update --add www-data alterncpanel 0775 "/var/lib/phpmyadmin/tmp" 2>/dev/null || true +test -d "/etc/phpmyadmin/config-db.php" && dpkg-statoverride --update --add www-data alterncpanel 0644 "/etc/phpmyadmin/config-db.php" 2>/dev/null || true # hook run-parts --arg=end /usr/lib/alternc/install.d -test -d "/etc/phpmyadmin/config-db.php" && dpkg-statoverride --update --add www-data alterncpanel 0644 "/etc/phpmyadmin/config-db.php" 2>/dev/null || true # Unlock jobs ! unlock_jobs