From: Moritz Bunkus Date: Tue, 14 Jun 2011 13:30:08 +0000 (+0200) Subject: Auch Konfigurationsdatei lx_office.conf.default von /etc nach /usr/lib/... symlinken X-Git-Tag: release-2.6.3~15 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ba9c06f3c5eca5962f0337a3b7ee681f144e7fb7;p=kivitendo-erp.git Auch Konfigurationsdatei lx_office.conf.default von /etc nach /usr/lib/... symlinken --- diff --git a/DEBIAN/DEBIAN/postinst b/DEBIAN/DEBIAN/postinst index e430fc0d8..5bdd95812 100755 --- a/DEBIAN/DEBIAN/postinst +++ b/DEBIAN/DEBIAN/postinst @@ -79,9 +79,9 @@ mk_new_config() { } mk_links() { - if ! [ -f /usr/lib/lx-office-erp/config/lx_office.conf ] ; then - ln -s /etc/lx-office-erp/lx_office.conf /usr/lib/lx-office-erp/config/lx_office.conf - fi + 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 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