summaryrefslogtreecommitdiff
path: root/libre/icecat-l10n/updatelanglist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libre/icecat-l10n/updatelanglist.sh')
-rwxr-xr-x[-rw-r--r--]libre/icecat-l10n/updatelanglist.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/libre/icecat-l10n/updatelanglist.sh b/libre/icecat-l10n/updatelanglist.sh
index c0e676001..509792288 100644..100755
--- a/libre/icecat-l10n/updatelanglist.sh
+++ b/libre/icecat-l10n/updatelanglist.sh
@@ -28,8 +28,8 @@ for lang in $(curl -sL "$url" | grep '\.xpi' | cut -d'"' -f2 | rev | cut -d'/' -
printf "\r %-3s..." "${lang%%-*}"
# curl -s -o src/"$lang.xpi" "${url%/}/icecat-${pkgver%_*}.$lang.langpack.xpi"
curl -s -o src/"$lang.xpi" "${url%/}/$lang.xpi"
-# sha512sum="$(sha512sum "src/$lang.xpi" | cut -d' ' -f1)"
- sha512sum="$(sha512sum "icecat-${pkgver%_*}.$lang.langpack.xpi" | cut -d' ' -f1)"
+# sha512sum="$(sha512sum "icecat-${pkgver%_*}.$lang.langpack.xpi" | cut -d' ' -f1)" # FIXME: normal releases - gnuzilla lang-packs
+ sha512sum="$(sha512sum "src/$lang.xpi" | cut -d' ' -f1)" # FIXME: pre-release - no gnuzilla lang-packs
name="$(unzip -p "src/$lang.xpi" manifest.json | grep " \"name" | cut -d':' -f2- | cut -d'"' -f2)"
printf " '%-5s \"%s\"'\n" "$lang" "$name" \