From e59ad17f92ad0c1280fb3ee5606348b63fbbb78b Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Fri, 13 Oct 2017 17:57:26 +0200 Subject: libre/icedove-l10n: updated to 52.4.0 --- libre/icedove-l10n/check.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libre/icedove-l10n/check.sh (limited to 'libre/icedove-l10n/check.sh') diff --git a/libre/icedove-l10n/check.sh b/libre/icedove-l10n/check.sh new file mode 100644 index 000000000..4c92ca12e --- /dev/null +++ b/libre/icedove-l10n/check.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# helper script to check the local language list against upstream + +# extract language list from pkgbuild +bash -c "source PKGBUILD && printf '%s\n' \"\${_languages[@]}\" | cut -d ' ' -f1 | sort" \ + > icedove-l10n.local + +# load language list from upstream +url="$(bash -c "source PKGBUILD && echo \"\$_pkgurl\"")/" +curl -sL $url | \ + grep '\.xpi' | cut -d'"' -f2 | rev | cut -d'/' -f1 | rev | cut -d'.' -f1 | sort\ + > icedove-l10n.remote + +diff -rupN icedove-l10n.local icedove-l10n.remote +rm -f icedove-l10n.{local,remote} -- cgit v1.2.3