diff options
Diffstat (limited to 'scripts/get_langs.sh')
-rwxr-xr-x | scripts/get_langs.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/get_langs.sh b/scripts/get_langs.sh new file mode 100755 index 00000000..0ac2fbfa --- /dev/null +++ b/scripts/get_langs.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +if test -z "${1}"; then + echo "Usage: ${0} FF_VER" + exit 1 +fi + +VER="${1}" +MIRROR_URI="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${VER}/linux-i686/xpi/" +echo $(wget -q "${MIRROR_URI}" -O - | grep -o '[a-zA-Z-]\+\.xpi' | uniq | sed 's/\.xpi//') |