On 14-10-2024 00:07, Nick via Dng wrote:
> On 13-10-2024 23:55, Marc Shapiro via Dng wrote:
>> On 10/13/24 2:30 PM, Nick via Dng wrote:
>>> On 13-10-2024 23:13, Marc Shapiro via Dng wrote:
>>>> I think the subject pretty much says it all.
>>>>
>>>> For years, I have been using a perl script to download the latest
>>>> firefox and thunderbird .bz2 files from mozilla.org using 'wget'.
>>>> If the file is more recent than my current version, it gets moved
>>>> to a directory for storage. It then gets untarred and the
>>>> resulting directory gets moved again, to where I want the binary.
>>>>
>>>> Recently, however, the thunderbird binary that I got popped up an
>>>> error and said to get the most recent stable version from
>>>> thunderbird.net. (Googling showed that a lot of people got hit
>>>> with this.) I got the file from thunderbird.net. Fortunately,
>>>> there were no incompatible changes made to my profile. (The script
>>>> will be backing up the prfofile before it is used again.)
>>>>
>>>> To get the file from mozilla.org, I am using:
>>>>
>>>> system('wget --quiet --show-progress --content-disposition
>>>> "https://download.mozilla.org/?product=thunderbird-latest-ssl&os=linux64&lang=en-US"');
>>>>
>>>>
>>>> But, if thunderbird.net is the preferred location, does anyone know
>>>> the equivalent way to use 'wget' to download the latest stable file
>>>> from there?
>>>>
>>>>
>>>> Marc
>>>>
>>> Apparently they changed the way their download link functions. It
>>> still works when you use:
>>>
>>> wget -O thunderbird-latest.tar.bz2
>>> https://download.mozilla.org/?product=thunderbird-latest-ssl\&os=linux64\&lang=en-US
>>
>> This is still downloading from mozilla.org. I am looking for the
>> equivalent to download the latest stable from thunderbird.net.
>>
>>
>> Marc
>>
> thunderbird.net is still pointing everywhere to mozilla.org. But wget
> without -O will name the downloadfile
> 'index.html?product=thunderbird-latest-ssl&os=linux64&lang=en-US'.
> Better yet you could use:
>
> wget --content-disposition
> https://download.mozilla.org/?product=thunderbird-latest-ssl&os=linux64&lang=en-US
>
> and it will work like before.
Hmm it should have work all the time besides that I am running wget from
bash which stumbles over &
But still thunderbird.net is pointing to mozilla.org, weird.