Bug 180101 - app-editors/jedit-4.2-r2 - wrong cleanup proposal after merge
Bug#: 180101 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: java@gentoo.org Reported By: frank.ralph.reiser@gmail.com
Component: Ebuilds
URL: 
Summary: app-editors/jedit-4.2-r2 - wrong cleanup proposal after merge
Keywords:  
Status Whiteboard: 
Opened: 2007-05-28 11:35 0000
Description:   Opened: 2007-05-28 11:35 0000
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 From Vlastimil Babka (Caster) 2007-05-29 09:23:44 0000 -------
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."