[Debian-l10n-commits] r1096 - in /dl10n/trunk/pootle/sync-projects.d: 10debconf cfg/ cfg/10debconf

bubulle at users.alioth.debian.org bubulle at users.alioth.debian.org
Fri Jul 25 12:53:29 UTC 2008


Author: bubulle
Date: Fri Jul 25 12:53:29 2008
New Revision: 1096

URL: http://svn.debian.org/wsvn/?sc=1&rev=1096
Log:
Now use a configuration file

Added:
    dl10n/trunk/pootle/sync-projects.d/cfg/
    dl10n/trunk/pootle/sync-projects.d/cfg/10debconf   (with props)
Modified:
    dl10n/trunk/pootle/sync-projects.d/10debconf

Modified: dl10n/trunk/pootle/sync-projects.d/10debconf
URL: http://svn.debian.org/wsvn/dl10n/trunk/pootle/sync-projects.d/10debconf?rev=1096&op=diff
==============================================================================
--- dl10n/trunk/pootle/sync-projects.d/10debconf (original)
+++ dl10n/trunk/pootle/sync-projects.d/10debconf Fri Jul 25 12:53:29 2008
@@ -1,32 +1,16 @@
 #!/bin/sh
+
+. `dirname $0`/cfg/`basename $0`
 
 echo "Updating debconf translations:"
 
 TEMPDIR=`tempfile --directory=/tmp`
 rm $TEMPDIR
-PROJECTDIR=/var/lib/pootle/debconf
-
-# Packages that are false positives: they don't really have po-debconf
-# translations
-IGNORE="lintian powertweak"
-
-# Directories that contain PO files that are not relevant to debconf
-# translations
-GARBAGE="\
-	contrib/o/openttd/os \
-	main/c/clamav-getfiles/clamav-data.template \
-	main/f/freepops/buildfactory \
-	main/h/heimdal/packages \
-	main/i/ifupdown/_darcs \
-	main/n/nut/packaging \
-	main/r/root-system/build"
 
 
 cd $PROJECTDIR
 svn -q up
 
-# tarball location
-TARBALL=/org/dl10n-stuff/www/po-debconf.tar.gz
 [ -f $TARBALL ] || exit 1
 
 # First we extract the tarball in the temporary directory

Added: dl10n/trunk/pootle/sync-projects.d/cfg/10debconf
URL: http://svn.debian.org/wsvn/dl10n/trunk/pootle/sync-projects.d/cfg/10debconf?rev=1096&op=file
==============================================================================
--- dl10n/trunk/pootle/sync-projects.d/cfg/10debconf (added)
+++ dl10n/trunk/pootle/sync-projects.d/cfg/10debconf Fri Jul 25 12:53:29 2008
@@ -1,0 +1,22 @@
+#!/bin/sh
+
+# The location of Pootle files
+PROJECTDIR=/var/lib/pootle/debconf
+
+# Packages that are false positives: they don't really have po-debconf
+# translations
+IGNORE="lintian powertweak"
+
+# Directories that contain PO files that are not relevant to debconf
+# translations
+GARBAGE="\
+	contrib/o/openttd/os \
+	main/c/clamav-getfiles/clamav-data.template \
+	main/f/freepops/buildfactory \
+	main/h/heimdal/packages \
+	main/i/ifupdown/_darcs \
+	main/n/nut/packaging \
+	main/r/root-system/build"
+
+# tarball location
+TARBALL=/org/dl10n-stuff/www/po-debconf.tar.gz

Propchange: dl10n/trunk/pootle/sync-projects.d/cfg/10debconf
------------------------------------------------------------------------------
    svn:executable = *




More information about the Debian-l10n-commits mailing list