From a35bee414859665a4fa63d1e873229b1c1cf9ebf Mon Sep 17 00:00:00 2001 From: Camille Lafitte Date: Tue, 7 Apr 2009 12:23:09 +0000 Subject: [PATCH] supprimer les mauvais liens vers le panel * fait suite au commentaire de #1178 --- debian/alternc.postinst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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