mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
Debian : Moved local directory in /usr/local/ldapsaisie
This commit is contained in:
parent
76b7a79605
commit
67884e7e29
2 changed files with 8 additions and 5 deletions
2
debian/dirs
vendored
2
debian/dirs
vendored
|
@ -1,5 +1,7 @@
|
||||||
etc/ldapsaisie
|
etc/ldapsaisie
|
||||||
etc/ldap/schema
|
etc/ldap/schema
|
||||||
|
usr/share
|
||||||
usr/share/doc/ldapsaisie
|
usr/share/doc/ldapsaisie
|
||||||
|
usr/local/share
|
||||||
var/tmp/ldapsaisie
|
var/tmp/ldapsaisie
|
||||||
var/log/ldapsaisie
|
var/log/ldapsaisie
|
||||||
|
|
11
debian/rules
vendored
11
debian/rules
vendored
|
@ -28,11 +28,12 @@ install: build
|
||||||
find $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie -name .gitignore -exec rm -f {} \;
|
find $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie -name .gitignore -exec rm -f {} \;
|
||||||
find $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie -name .placefolder -exec rm -f {} \;
|
find $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie -name .placefolder -exec rm -f {} \;
|
||||||
|
|
||||||
mv $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/local $(CURDIR)/debian/ldapsaisie/etc/ldapsaisie/
|
mv $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/local $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie
|
||||||
find $(CURDIR)/debian/ldapsaisie/etc/ldapsaisie/local -type f -exec rm -f \{\} \;
|
dh_link /usr/local/share/ldapsaisie /etc/ldapsaisie/local
|
||||||
dh_link /etc/ldapsaisie/local /usr/share/ldapsaisie/local
|
find $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie -type f -exec rm -f \{\} \;
|
||||||
mv $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/conf/config.inc.php $(CURDIR)/debian/ldapsaisie/etc/ldapsaisie/local/conf/
|
dh_link /usr/local/share/ldapsaisie /usr/share/ldapsaisie/local
|
||||||
sed -i 's/tmp\/LS.log/\/var\/log\/ldapsaisie\/ldapsaisie.log/' $(CURDIR)/debian/ldapsaisie/etc/ldapsaisie/local/conf/config.inc.php
|
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
|
||||||
|
|
||||||
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