summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-11-01 11:43:38 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-11-01 11:43:38 +0000
commitb6a2b96c7361d2d08f8f30d14423efe5d02d9184 (patch)
tree0148c0e5670ddfc5e61287f8e6db706181ecd180 /media-gfx/gimp
parentFix dodoc, version bump. (diff)
downloadgentoo-2-b6a2b96c7361d2d08f8f30d14423efe5d02d9184.tar.gz
gentoo-2-b6a2b96c7361d2d08f8f30d14423efe5d02d9184.tar.bz2
gentoo-2-b6a2b96c7361d2d08f8f30d14423efe5d02d9184.zip
Fix icon png being removed on upgrade.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-gfx/gimp')
-rw-r--r--media-gfx/gimp/ChangeLog5
-rw-r--r--media-gfx/gimp/gimp-2.2.9.ebuild8
2 files changed, 9 insertions, 4 deletions
diff --git a/media-gfx/gimp/ChangeLog b/media-gfx/gimp/ChangeLog
index 978d7f079cf7..dd448066548f 100644
--- a/media-gfx/gimp/ChangeLog
+++ b/media-gfx/gimp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/gimp
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.133 2005/10/28 00:46:29 allanonjl Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.134 2005/11/01 11:43:38 azarah Exp $
+
+ 01 Nov 2005; Martin Schlemmer <azarah@gentoo.org> gimp-2.2.9.ebuild:
+ Fix icon png being removed on upgrade.
*gimp-2.2.9 (28 Oct 2005)
diff --git a/media-gfx/gimp/gimp-2.2.9.ebuild b/media-gfx/gimp/gimp-2.2.9.ebuild
index 649409c20af1..5d9fd8495dd9 100644
--- a/media-gfx/gimp/gimp-2.2.9.ebuild
+++ b/media-gfx/gimp/gimp-2.2.9.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/media-gfx/gimp/gimp-2.2.9.ebuild,v 1.1 2005/10/28 00:46:29 allanonjl Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.2.9.ebuild,v 1.2 2005/11/01 11:43:38 azarah Exp $
inherit flag-o-matic libtool eutils fdo-mime alternatives
@@ -158,7 +158,8 @@ pkg_postinst() {
alternatives_auto_makesym "/usr/bin/gimp" "/usr/bin/gimp-[0-9].[0-9]"
# fix for bug #76050
- ln -s $(gimptool-2.0 --gimpdatadir)/images/wilber-icon.png /usr/share/pixmaps/
+ ln -s $(gimptool-2.0 --gimpdatadir)/images/wilber-icon.png \
+ ${ROOT}/usr/share/pixmaps/
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
@@ -168,7 +169,8 @@ pkg_postinst() {
}
pkg_postrm() {
- rm /usr/share/pixmaps/wilber-icon.png
+ [[ ! -f ${ROOT}/usr/bin/gimp-2.2 ]] && \
+ rm -f ${ROOT}/usr/share/pixmaps/wilber-icon.png
fdo-mime_desktop_database_update
fdo-mime_mime_database_update