removing dopo.sh call, and compiling .mo at packaging time.
This commit is contained in:
parent
225d93c1c0
commit
876d422778
|
@ -240,9 +240,6 @@ EOF
|
|||
# Apache will not start without this file
|
||||
touch /var/alternc/apache-vhost/vhosts_all.conf
|
||||
|
||||
# Update l18n files
|
||||
/usr/share/alternc/install/dopo.sh
|
||||
|
||||
#squirrelmail fix
|
||||
chown -R :alterncpanel /var/lib/squirrelmail/data
|
||||
chmod -R g+w /var/lib/squirrelmail
|
||||
|
|
|
@ -26,6 +26,7 @@ build: build-stamp
|
|||
build-stamp:
|
||||
dh_testdir
|
||||
/usr/bin/msgfmt po/fr/LC_MESSAGES/alternc-admintools.po -o po/fr/LC_MESSAGES/alternc-admintools.mo
|
||||
find bureau/locales -mindepth 2 -maxdepth 2 -type d -name "LC_MESSAGES" -exec msgfmt "{}/alternc" -o "{}/alternc.mo" \;
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
|
@ -34,6 +35,7 @@ clean:
|
|||
rm -f build-stamp
|
||||
debconf-updatepo
|
||||
dh_clean
|
||||
find bureau/locales -mindepth 3 -maxdepth 3 -type d -name "alternc.mo" -delete
|
||||
|
||||
install: DH_OPTIONS=
|
||||
install: build
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
#### THIS SCRIPT IS NO LONGER USED, BUT MAY BE USED
|
||||
#### BY NON-STANDARD EXTENSIONS OF ALTERNC
|
||||
#### WE ARE NOW USING A UNIQ CENTRALIZED PO FILE FOR OUR TRANSLATIONS,
|
||||
#### WHICH IS THE RESULT OF A MSGCAT OF ALL PO FILES FROM EVERYWHERE ;)
|
||||
|
||||
# AlternC Language file builder
|
||||
# THIS SCRIPT MUST BE LAUNCHED EACH TIME A MODULE IS ADDED OR REMOVED FROM ALTERNC
|
||||
# eg: alternc-procmailbuilder, alternc-mailman ...
|
||||
|
|
Loading…
Reference in New Issue