summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2005-07-18 10:04:43 +0000
committerCarsten Lohrke <carlo@gentoo.org>2005-07-18 10:04:43 +0000
commit8428a22f131159b7ef8271b4117bbf31a38c7775 (patch)
tree0ea20c06e62facf77af1a678239d66b704fce17e /net-print
parentVersion bump. (diff)
downloadgentoo-2-8428a22f131159b7ef8271b4117bbf31a38c7775.tar.gz
gentoo-2-8428a22f131159b7ef8271b4117bbf31a38c7775.tar.bz2
gentoo-2-8428a22f131159b7ef8271b4117bbf31a38c7775.zip
Let's be a bit more careful what to rm -fR in pkg_preinst().
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-print')
-rw-r--r--net-print/cups/ChangeLog5
-rw-r--r--net-print/cups/cups-1.1.23-r4.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/net-print/cups/ChangeLog b/net-print/cups/ChangeLog
index 790fd96be113..8b2dab7be87b 100644
--- a/net-print/cups/ChangeLog
+++ b/net-print/cups/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-print/cups
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.135 2005/06/12 13:07:18 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.136 2005/07/18 10:04:43 carlo Exp $
+
+ 18 Jul 2005; Carsten Lohrke <carlo@gentoo.org> cups-1.1.23-r4.ebuild:
+ Let's be a bit more careful what to rm -fR in pkg_preinst().
12 Jun 2005; Heinrich Wendel <lanius@gentoo.org> cups-1.1.23-r3.ebuild,
cups-1.1.23-r4.ebuild:
diff --git a/net-print/cups/cups-1.1.23-r4.ebuild b/net-print/cups/cups-1.1.23-r4.ebuild
index 188a97b96734..9a2cfcba3182 100644
--- a/net-print/cups/cups-1.1.23-r4.ebuild
+++ b/net-print/cups/cups-1.1.23-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.23-r4.ebuild,v 1.5 2005/06/13 22:29:15 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.23-r4.ebuild,v 1.6 2005/07/18 10:04:43 carlo Exp $
inherit eutils flag-o-matic pam
@@ -134,7 +134,7 @@ src_install() {
pkg_preinst() {
# cleanups
- rm -fR /usr/share/doc/${PN}*
+ [ -n "${PN}" ] && rm -fR /usr/share/doc/${PN}-*
}
pkg_postinst() {