[Lunar-commits] <moonbase> firefox-bin: really remove firefox when removing

Auke Kok auke at foo-projects.org
Fri Jul 1 04:18:11 CEST 2011


On 06/30/2011 12:17 PM, Zbigniew Luszpinski wrote:
>> On 06/29/2011 03:33 PM, Zbigniew Luszpinski wrote:
>>> commit bd786c1e0ca408a4445fb004dcbd04b6f71e9b85
>>> Author: Zbigniew Luszpinski<zbiggy at lunar-linux.org>
>>> Date:   Thu Jun 30 00:33:20 2011 +0200
>>>
>>>       firefox-bin: really remove firefox when removing
>>>
>>> ---
>>>
>>>    web/firefox-bin/POST_REMOVE |    1 +
>>>    1 files changed, 1 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/web/firefox-bin/POST_REMOVE
>>> b/web/firefox-bin/POST_REMOVE new file mode 100644
>>> index 0000000..c039e67
>>> --- /dev/null
>>> +++ b/web/firefox-bin/POST_REMOVE
>>> @@ -0,0 +1 @@
>>> +rm -rf /opt/lunar/firefox
>>
>> why?
>
> To keep Lunar clean, light and secure: something you will never see on
> Windows. Not like in Windows where after uninstalling the icons from
> desktop and start menu disappear but junk execs, libraries and all other
> stuff is left not mentioning registry where leaving everything is ugly
> tradition cultivated by every software publisher.

I smell bullshit. A lot.

>> I might just have some plugins in there that I put there manually, or,
>> something that the firefox module didn't put in there.
>
> Plugins are put inside /opt/lunar/plugins. /opt/lunar/firefox/plugins is
> only symlink to it. If you put something in /opt/lunar/firefox/plugins it
> will land in /opt/lunar/plugins and will remain there after firefox
> removal. If you have personal plugins you should keep them in home
> directory in .firefox subdir - not mess system wide. Leave system wide
> files management to Lunar - personalize Lunar in home dir only. Other
> users on system will be glad and migration will be easier. Firefox since
> release 4 does not install plugins anymore.
>
>> This is really out of line, you should never ever do this in a package.
>>
>> Auke
>
> Give me good reason and I will do. I do not know any yet.

I already gave you a reason, and, your counterargument is bullshit:

Lunar is exactly the type of distro that encourages manual tweaking and 
adjustment. Blanket removal of entire trees is counter to that.

So, don't do this, period. Lunar has internally all the code to properly 
clean up packages, and that is what must be relied on. If there is a 
problem with that, then fix the root cause, instead of adding hacks.

Auke


More information about the Lunar-dev mailing list