From 6f9df130187d6ef5ef08f7175fd2dd5aa4aad328 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 15 Jun 2011 15:06:28 +0200 Subject: [PATCH] =?utf8?q?Alte=20Konfigurationsdateilinks=20l=C3=B6schen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- DEBIAN/DEBIAN/postinst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DEBIAN/DEBIAN/postinst b/DEBIAN/DEBIAN/postinst index 05ac9e18e..11095845f 100755 --- a/DEBIAN/DEBIAN/postinst +++ b/DEBIAN/DEBIAN/postinst @@ -82,6 +82,11 @@ mk_links() { for file in lx_office.conf lx_office.conf.default ; do test -f /usr/lib/lx-office-erp/config/${file} || ln -s /etc/lx-office-erp/${file} /usr/lib/lx-office-erp/config/${file} done + for file in lx-erp.conf authentication.pl ; do + if [ -f /usr/lib/lx-office-erp/config/${file} ] ; then + rm /usr/lib/lx-office-erp/config/${file} + fi + done if [ -e /etc/apache2 ] ; then if ! [ -f /etc/apache2/conf.d/lx-office-erp.apache2.conf ] ; then ln -s /etc/lx-office-erp/lx-office-erp.apache2.conf /etc/apache2/conf.d/lx-office-erp.apache2.conf -- 2.20.1