diff --git a/debian/alternc.postinst b/debian/alternc.postinst index 98637db5..b0806501 100644 --- a/debian/alternc.postinst +++ b/debian/alternc.postinst @@ -181,7 +181,10 @@ EOF echo "$include_str;" >> $pma_config fi - # Add access to the management panel + #clean old access to the management panel + find /var/alternc/dns/ -type l -lname /var/alternc/bureau -exec rm {} \; + + # Add access to the management panel ln -nsf /var/alternc/bureau /var/alternc/dns/$FQDN_LETTER/$FQDN # Bind stuff