From 6f05d2a4860857a601bde4906008068998a1eaf6 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 9 Jul 2013 13:55:54 +0200 Subject: [PATCH] Debian : fixed config.inc.php problem on upgrade --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 1d18daf3..3f860390 100755 --- a/debian/rules +++ b/debian/rules @@ -31,8 +31,8 @@ install: build mv $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/local $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie find $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie -type f -exec rm -f \{\} \; dh_link /usr/local/share/ldapsaisie /usr/share/ldapsaisie/local - mv $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/conf/config.inc.php $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie/conf/ - sed -i 's/tmp\/LS.log/\/var\/log\/ldapsaisie\/ldapsaisie.log/' $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie/conf/config.inc.php + sed -i 's/tmp\/LS.log/\/var\/log\/ldapsaisie\/ldapsaisie.log/' $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/conf/config.inc.php + cp $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/conf/config.inc.php $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie/conf/config.inc.example.php rm -fr $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/tmp dh_link /var/tmp/ldapsaisie /usr/share/ldapsaisie/tmp