diff --git a/debian/alternc.postinst b/debian/alternc.postinst index 902d108f..8a29e9f3 100644 --- a/debian/alternc.postinst +++ b/debian/alternc.postinst @@ -226,20 +226,6 @@ EOF FQDN_LETTER="_" fi - - echo "config phpmyadmin" - # Mise à jour sur une configuration existante - # recherche la chaine include_str (avec les / echappées) et supprime les - # ${include_str//\//\\/}"'\) c'est uniquement BASH, on est en SH/DASH - include_str='include("/etc/alternc/phpmyadmin.inc.php")' - pma_config='/etc/phpmyadmin/config.inc.php' - bash -c "include_str='include(\"/etc/alternc/phpmyadmin.inc.php\")';pma_config='/etc/phpmyadmin/config.inc.php';sed 's//\1;/g' \$pma_config > \$pma_config'_2' && mv \$pma_config'_2' \$pma_config" - - # Sur une configuration vierge, inclure la configuration alternc - if ! grep -e "$include_str" $pma_config > /dev/null 2>&1; then - echo "$include_str;" >> $pma_config - fi - #clean old access to the management panel # We don't use this anymore : (FIXME : shall we remove /var/alternc/dns while upgrading ?) #find /var/alternc/dns/ -type l -lname /var/alternc/bureau -exec rm {} \; diff --git a/debian/rules b/debian/rules index 20b14add..dff20fab 100755 --- a/debian/rules +++ b/debian/rules @@ -58,7 +58,6 @@ install: build # Fix permisions chmod 755 debian/alternc/etc/alternc - chmod 644 debian/alternc/etc/alternc/phpmyadmin.inc.php # Group and user 1999 reference alterncpanel chown -R 1999:1999 debian/alternc/usr/share/alternc/panel chmod -R 644 debian/alternc/usr/share/alternc/panel