Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124967 - dev-util/kdesvn postinst improvements
Summary: dev-util/kdesvn postinst improvements
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Aaron Walker (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-04 09:49 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2006-06-12 08:00 UTC (History)
1 user (show)

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 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-03-04 09:49:29 UTC
einfo about kompare should be printed only if kompare is not installed. It can be done using has_version, according to http://dev.gentoo.org/~plasmaroo/devmanual//ebuild-writing/functions/pkg_postinst/

--- kdesvn-0.7.4.ebuild.old     2006-03-04 18:44:42.000000000 +0100
+++ kdesvn-0.7.4.ebuild 2006-03-04 18:45:23.000000000 +0100
@@ -19,7 +19,7 @@
 need-kde 3.3

 pkg_postinst() {
-       echo
-       einfo "For nice graphical diffs, install kde-base/kompare."
-       echo
+       if ! has_version 'kde-base/kompare'; then
+               einfo "For nice graphical diffs, install kde-base/kompare."
+       fi
 }
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2006-06-12 08:00:48 UTC
The fix is in the 0.8.4 that I just added..