]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Generate daily langpack tarball
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 Aug 2008 04:24:20 +0000 (16:24 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 Aug 2008 04:24:20 +0000 (16:24 +1200)
Following the daily dist build this is supposed to bundle all existing
translations into a langpack tarball for distribution.

Squid releases are bundled with their own most-current translations as at
release date. Daily snapshots included.

This bundling is only intended to be built for the HEAD release as a
a drop-in replacement for any error pages bundled per-release with
Squid 2.6 and later.

TODO: auto-translation patch still to merge will generate current
translations for this to work with. At present it only has the old legacy
folders, but should still operate correctly on those.

mksnapshot.sh

index 87129720b41867aebd68151b76b285837f9711bf..239c7786284a0d39b8c12661cc1b93a7863f99d3 100755 (executable)
@@ -95,3 +95,8 @@ if [ -x $tmpdir/scripts/www/build-cfg-help.pl ]; then
        gzip -f -9 ${PACKAGE}-${VERSION}-${date}-cfgman.html
        echo ${PACKAGE}-${VERSION}-${date}-cfgman.html.gz >>${tag}.out
 fi
+
+# Generate language-pack tarballs
+# NP: Only to be done on HEAD branch.
+sh -c "cd $tmpdir/errors && tar -zcf ${PWD}/${PACKAGE}-${VERSION}-${date}-langpack.tar.gz ./*/*"
+echo ${PACKAGE}-${VERSION}-${date}-langpack.tar.gz >>${tag}.out