Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180101 - app-editors/jedit-4.2-r2 - wrong cleanup proposal after merge
Summary: app-editors/jedit-4.2-r2 - wrong cleanup proposal after merge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 11:35 UTC by Frank-Ralph Reiser
Modified: 2007-05-29 09:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank-Ralph Reiser 2007-05-28 11:35:12 UTC
The ebuild shows some messages, in order to delete old plugins, one should invoke
 rm -r /usr/share/jedit
but that deletes the whole jedit installation.
The plugin jars are located in /usr/share/jedit/jars, but even that directory shouldn't be deleted blindly.



Reproducible: Always

Steps to Reproduce:
1.emerge app-editors/jedit-4.2-r2
2.read the comments


Actual Results:  
Comment recommends deletion of /usr/share/jedit and all its subdirectories

Expected Results:  
imho "rm -rf" should never be recommended at all, especially not when the directory is vital for a program
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-05-29 09:23:44 UTC
It's not post-merge message but postrm. But it's true you see it after remerge or upgrade too, because portage removes older version. Not sure if we can do anything about it. I've added a message to make it more clear:

        elog "Ignore this message if you are reinstalling or upgrading."