diff --git a/thunderbird-autoupdate b/thunderbird-autoupdate index 38d02ae..6a7b113 100644 --- a/thunderbird-autoupdate +++ b/thunderbird-autoupdate @@ -7,10 +7,13 @@ if [ -z "$THUNDERBIRD_VERSION" ]; then exit 2 fi +[ -e thunderbird-$THUNDERBIRD_VERSION-langpacks.tar.bz2 ] && exit 0 + 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/ +wget -r -N -l 1 -np -nd -A "*.xpi" http://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 +cd .. +rm -rf thunderbird-$THUNDERBIRD_VERSION diff --git a/thunderbird.spec b/thunderbird.spec index a182172..f84aaa2 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -10,7 +10,7 @@ %define source_dir comm-esr%(echo %version | cut -d. -f1) Name: thunderbird -Version: 38.1.0 +Version: 38.2.0 Release: 1mamba Summary: Mozilla Thunderbird email, RSS, and newsgroup client Group: Graphical Desktop/Applications/Internet @@ -1073,9 +1073,9 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description i18n-ro Romanian language support for Thunderbird. -%files i18n-ro -%defattr(-,root,root) -%{tbdir}/extensions/langpack-ro@thunderbird.mozilla.org/ +#%files i18n-ro +#%defattr(-,root,root) +#%{tbdir}/extensions/langpack-ro@thunderbird.mozilla.org/ %package i18n-ru Summary: Russian language support for Thunderbird @@ -1237,6 +1237,9 @@ Chinese (Traditional) language support for Thunderbird. %{tbdir}/extensions/langpack-zh-TW@thunderbird.mozilla.org/ %changelog +* Mon Aug 17 2015 Automatic Build System 38.2.0-1mamba +- automatic version update by autodist + * Sat Jul 11 2015 Automatic Build System 38.1.0-1mamba - automatic version update by autodist