summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2006-08-27 20:47:43 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2006-08-27 20:47:43 +0000
commit0b28325701e0d57a98b3cc67ee9e0a16782c7535 (patch)
tree37eda61ba65bb08c82a13e8db2b8307bd695fb6f /x11-libs/gtk+
parentStable on SPARC wrt bug #141248. (diff)
downloadgentoo-2-0b28325701e0d57a98b3cc67ee9e0a16782c7535.tar.gz
gentoo-2-0b28325701e0d57a98b3cc67ee9e0a16782c7535.tar.bz2
gentoo-2-0b28325701e0d57a98b3cc67ee9e0a16782c7535.zip
adding if block around warning message as per bug #141253
(Portage version: 2.1.1_pre5-r3)
Diffstat (limited to 'x11-libs/gtk+')
-rw-r--r--x11-libs/gtk+/ChangeLog6
-rw-r--r--x11-libs/gtk+/gtk+-1.2.10-r11.ebuild11
2 files changed, 12 insertions, 5 deletions
diff --git a/x11-libs/gtk+/ChangeLog b/x11-libs/gtk+/ChangeLog
index 17a293c89e75..c3bf5eae810d 100644
--- a/x11-libs/gtk+/ChangeLog
+++ b/x11-libs/gtk+/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/gtk+
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.255 2006/08/26 17:57:38 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.256 2006/08/27 20:47:42 compnerd Exp $
+
+ 27 Aug 2006; Saleem Abdulrasool <compnerd@gentoo.org>
+ gtk+-1.2.10-r11.ebuild:
+ Add an if block around the warning for gtkrc as per bug #141253
*gtk+-2.10.2 (26 Aug 2006)
diff --git a/x11-libs/gtk+/gtk+-1.2.10-r11.ebuild b/x11-libs/gtk+/gtk+-1.2.10-r11.ebuild
index 5dd58817b0c1..d633f901f307 100644
--- a/x11-libs/gtk+/gtk+-1.2.10-r11.ebuild
+++ b/x11-libs/gtk+/gtk+-1.2.10-r11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-1.2.10-r11.ebuild,v 1.25 2006/07/05 05:22:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-1.2.10-r11.ebuild,v 1.26 2006/08/27 20:47:43 compnerd Exp $
GNOME_TARBALL_SUFFIX="gz"
inherit gnome.org eutils libtool toolchain-funcs
@@ -82,9 +82,12 @@ src_install() {
}
pkg_postinst() {
- ewarn "Older versions added /etc/X11/gtk/gtkrc which changed settings for"
- ewarn "all themes it seems. Please remove it manually as it will not due"
- ewarn "to /env protection."
+ if [[ -e /etc/X11/gtk/gtkrc ]] ; then
+ ewarn "Older versions added /etc/X11/gtk/gtkrc which changed settings for"
+ ewarn "all themes it seems. Please remove it manually as it will not due"
+ ewarn "to /env protection."
+ fi
+
echo ""
einfo "The old gtkrc is available through the new Gentoo gtk theme."
}