mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
Add ldapsaisie-generate-lang-file command in debian package
This commit is contained in:
parent
1be3b31c10
commit
3c2f8b1120
3 changed files with 11 additions and 0 deletions
8
debian/bin/ldapsaisie-generate-lang-file
vendored
Executable file
8
debian/bin/ldapsaisie-generate-lang-file
vendored
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
L="$1"
|
||||
[ ! -n "$1" ] && echo "Usage : $0 [lang] [lang1.php lang2.php ...]" && exit 1
|
||||
|
||||
cd /usr/share/ldapsaisie/lang
|
||||
|
||||
php generate_lang_file.php /etc/ldapsaisie/local/lang/$L/*.php $L/*.php $@
|
1
debian/dirs
vendored
1
debian/dirs
vendored
|
@ -1,5 +1,6 @@
|
|||
etc/ldapsaisie
|
||||
etc/ldap/schema
|
||||
usr/bin
|
||||
usr/share
|
||||
usr/share/doc/ldapsaisie
|
||||
usr/local/share
|
||||
|
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -37,6 +37,8 @@ install: build
|
|||
rm -fr $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/tmp
|
||||
dh_link /var/tmp/ldapsaisie /usr/share/ldapsaisie/tmp
|
||||
|
||||
cp -fr $(CURDIR)/debian/bin/* $(CURDIR)/debian/ldapsaisie/usr/bin/
|
||||
|
||||
cp -f $(CURDIR)/lsexample/schema/lsexample.schema $(CURDIR)/debian/ldapsaisie/etc/ldap/schema/
|
||||
cp -f $(CURDIR)/lsexample/schema/lsexample.ldif $(CURDIR)/debian/ldapsaisie/etc/ldap/schema/
|
||||
|
||||
|
|
Loading…
Reference in a new issue