firefox/firefox-lang.sh
Silvan Calarco 4a552926a4 require xulrunner
fixed startup script %{_bindir}/firefox for x86_64 [release 17.0.1-2mamba;Wed Sep 25 2013]
2024-01-05 22:19:07 +01:00

17 lines
449 B
Bash

#!/bin/sh
# gil
FIREFOX_VERSION=$1
if [ -z "$FIREFOX_VERSION" ]; then
echo "Usage: $0 <version>"
exit 2
fi
rm -rf firefox-$FIREFOX_VERSION
mkdir firefox-$FIREFOX_VERSION
cd firefox-$FIREFOX_VERSION
wget -r -N -l 1 -np -nd -A "*.xpi" ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$FIREFOX_VERSION/linux-i686/xpi/*.xpi
rm -f robots.txt
tar -cj *.xpi > ../firefox-$FIREFOX_VERSION-langpacks.tar.bz2
#rm -rf firefox-$FIREFOX_VERSION