blob: 63ef703b1360c374af5318112c4319402c477c9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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" \
> iceweasel-l10n.local
# load language list from upstream
url="$(bash -c "source PKGBUILD && echo \"\$_url\"")/"
curl -sL $url | \
grep '\.xpi' | cut -d'"' -f2 | rev | cut -d'/' -f1 | rev | cut -d'.' -f1 | sort\
> iceweasel-l10n.remote
diff -rupN iceweasel-l10n.local iceweasel-l10n.remote
rm -f iceweasel-l10n.{local,remote}
|