aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornirbheek <nirbheek@6618de09-9924-0410-a474-e320b3795f1b>2009-06-30 17:17:47 +0000
committernirbheek <nirbheek@6618de09-9924-0410-a474-e320b3795f1b>2009-06-30 17:17:47 +0000
commitca1eef47187f109b4117dcb9d70c1a045b7dedfd (patch)
tree4786616e82bce01717cc6f44fcf94b081ccd7fb1 /scripts
parentfirefox & xulrunner moved to tree (diff)
downloadmozilla-ca1eef47187f109b4117dcb9d70c1a045b7dedfd.tar.gz
mozilla-ca1eef47187f109b4117dcb9d70c1a045b7dedfd.tar.bz2
mozilla-ca1eef47187f109b4117dcb9d70c1a045b7dedfd.zip
Script for getting supported language packs for a firefox release
git-svn-id: svn://overlays.gentoo.org/proj/mozilla@227 6618de09-9924-0410-a474-e320b3795f1b
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get_langs.sh10
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//')