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