From: Joerg Jaspert Date: Sat, 3 Mar 2012 14:56:03 +0000 (+0100) Subject: only use .bz2 files in Index X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=1f0831c1f67288db635d55162ae09fd3285c2b30;p=dak.git only use .bz2 files in Index Signed-off-by: Joerg Jaspert --- diff --git a/scripts/debian/generate-i18n-Index b/scripts/debian/generate-i18n-Index index 9b166bd2..75a57585 100755 --- a/scripts/debian/generate-i18n-Index +++ b/scripts/debian/generate-i18n-Index @@ -10,7 +10,8 @@ # On Debian systems, you can find the full text of the license in # /usr/share/common-licenses/GPL-2 -set -eu +set -e +set -u export LC_ALL=C usage () { @@ -42,7 +43,7 @@ trap trap_exit EXIT HUP INT QUIT TERM exec 3>Index echo "SHA1:" >&3 -for file in Translation-* ; do +for file in Translation-*.bz2 ; do sha=$(sha1sum "$file"); sha="${sha%% *}" size=$(stat -c %s "${file}") printf ' %s % 7s %s\n' "$sha" "$size" "$file" >&3