mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +01:00
Debian : fixed config.inc.php problem on upgrade
This commit is contained in:
parent
7e1227c1a5
commit
6f05d2a486
1 changed files with 2 additions and 2 deletions
4
debian/rules
vendored
4
debian/rules
vendored
|
@ -31,8 +31,8 @@ install: build
|
||||||
mv $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/local $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie
|
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 \{\} \;
|
find $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie -type f -exec rm -f \{\} \;
|
||||||
dh_link /usr/local/share/ldapsaisie /usr/share/ldapsaisie/local
|
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/share/ldapsaisie/conf/config.inc.php
|
||||||
sed -i 's/tmp\/LS.log/\/var\/log\/ldapsaisie\/ldapsaisie.log/' $(CURDIR)/debian/ldapsaisie/usr/local/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
|
rm -fr $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/tmp
|
||||||
dh_link /var/tmp/ldapsaisie /usr/share/ldapsaisie/tmp
|
dh_link /var/tmp/ldapsaisie /usr/share/ldapsaisie/tmp
|
||||||
|
|
Loading…
Reference in a new issue