diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2020-11-04 22:12:19 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2020-11-04 22:12:19 +0100 |
commit | 4e171299a3b8d37397efce647e071c4d0ef46fd4 (patch) | |
tree | 634fd31d60b9cf94c7bf3d22f137013af2b9896f /libre/icecat-l10n/check.sh | |
parent | e26526b8a866235248aa3e3c1205e4ad4d648b62 (diff) | |
download | abslibre-4e171299a3b8d37397efce647e071c4d0ef46fd4.tar.gz abslibre-4e171299a3b8d37397efce647e071c4d0ef46fd4.tar.bz2 abslibre-4e171299a3b8d37397efce647e071c4d0ef46fd4.zip |
libre/icecat-l10n: updated language update script and split language lists from PKGBUILD
Diffstat (limited to 'libre/icecat-l10n/check.sh')
-rw-r--r-- | libre/icecat-l10n/check.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libre/icecat-l10n/check.sh b/libre/icecat-l10n/check.sh deleted file mode 100644 index 99f792c3d..000000000 --- a/libre/icecat-l10n/check.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# helper script to check the local language list against upstream - -# extract pkgbase from pkgbuild -pkgbase="$(bash -c "source PKGBUILD && echo \"\$pkgbase\"")" - -# extract language list from pkgbuild -bash -c "source PKGBUILD && printf '%s\n' \"\${_languages[@]}\" | cut -d ' ' -f1 | sort" \ - > $pkgbase-l10n.local - -# load language list from upstream -url="$(bash -c "source PKGBUILD && echo \"\$_url\"")/" -curl -sL $url | \ - grep '\.xpi"' | cut -d'"' -f8 | rev | cut -d'/' -f1 | cut -d'.' -f3 | rev | sort \ - > $pkgbase-l10n.remote - -diff -rupN $pkgbase-l10n.local $pkgbase-l10n.remote -rm -f $pkgbase-l10n.{local,remote} |