From ce5e1b420a52806c26a1cc50b1f2ed33202ddcfa Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 21 Aug 2015 13:53:18 +0200 Subject: [PATCH] Replace ldapsaisie-generate-lang-file script by a symlink to generate_lang_file.php --- debian/bin/ldapsaisie-generate-lang-file | 8 -------- debian/ldapsaisie.install | 1 - debian/ldapsaisie.links | 1 + 3 files changed, 1 insertion(+), 9 deletions(-) delete mode 100755 debian/bin/ldapsaisie-generate-lang-file diff --git a/debian/bin/ldapsaisie-generate-lang-file b/debian/bin/ldapsaisie-generate-lang-file deleted file mode 100755 index 049f5a16..00000000 --- a/debian/bin/ldapsaisie-generate-lang-file +++ /dev/null @@ -1,8 +0,0 @@ -#!/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 $@ diff --git a/debian/ldapsaisie.install b/debian/ldapsaisie.install index a4c330d5..091b7b64 100644 --- a/debian/ldapsaisie.install +++ b/debian/ldapsaisie.install @@ -1,5 +1,4 @@ debian/conf/apache.conf etc/ldapsaisie/ -debian/bin/* usr/bin/ lsexample/schema/lsexample.schema etc/ldap/schema/ lsexample/schema/lsexample.ldif etc/ldap/schema/ public_html/* usr/share/ldapsaisie/ diff --git a/debian/ldapsaisie.links b/debian/ldapsaisie.links index a6c9a541..2900bac1 100644 --- a/debian/ldapsaisie.links +++ b/debian/ldapsaisie.links @@ -1,3 +1,4 @@ var/tmp/ldapsaisie usr/share/ldapsaisie/tmp usr/local/share/ldapsaisie usr/share/ldapsaisie/local usr/local/share/ldapsaisie etc/ldapsaisie/local +usr/share/ldapsaisie/lang/generate_lang_file.php usr/bin/ldapsaisie-generate-lang-file