Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203463 - webapp.eclass generates pointless warnings on webapp uninstallation
Summary: webapp.eclass generates pointless warnings on webapp uninstallation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-27 14:51 UTC by Adam James
Modified: 2008-02-22 14:44 UTC (History)
0 users

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


Attachments
don't ewarn if no affected installs (webapp.eclass-output.patch,467 bytes, patch)
2007-12-27 14:52 UTC, Adam James
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam James 2007-12-27 14:51:43 UTC
When removing a webapp which was installed with the vhost use flag, webapp.eclass generates output through ewarn without checking if there any affected installs. This results in needless output if the webapp has not been deployed, eg:

Don't forget to use webapp-config to remove any copies of
horde-turba-2.1.4 installed in

A trivial patch to correct this is attached.

As an aside, the `webapp_pkg_prerm' function (and possibly others) will break if a webapp is installed into a path containing spaces.
Comment 1 Adam James 2007-12-27 14:52:42 UTC
Created attachment 139422 [details, diff]
don't ewarn if no affected installs
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2008-02-22 14:44:20 UTC
fixed, thanks