Re: [Tails-dev] Migrating to (something closer to) the regul…

Supprimer ce message

Répondre à ce message
Auteur: anonym
Date:  
À: The Tails public development discussion list
Sujet: Re: [Tails-dev] Migrating to (something closer to) the regular Tor Browser
20/09/14 00:02, Kill Your TV wrote:
> On Thu, 18 Sep 2014 23:08:44 +0000 (UTC)
> intrigeri <intrigeri@???> wrote:
>
>
>> +ln -s /usr/share/xul-ext/adblock-plus/ "${TBB_EXT}"/'{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}'
>> +ln -s /usr/share/xul-ext/foxyproxy-standard/ "${TBB_EXT}"/foxyproxy@???
>> +ln -s /usr/share/xul-ext/torbutton/ "${TBB_EXT}"/torbutton@???
>
>> It would be nice to take 15 minutes to try and extract the right-hand
>> values dynamically. If it's not done after 15 minutes, give up :)
>
> Perhaps something like this would work?
>
>
> get_id(){
>     sed -nr 's/^\s+<em:id>(.+)<\/em:id>/\1/p' "${1}/install.rdf" | head -n1
> }


Unfortunately this won't work, see e.g. AdBlock Plus' install.rdf, which
has several "<em:id>" tags. To fix the indentation level might be
enough, but I don't know how the format is specified exactly.

Cheers!