summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-04-12 13:53:08 +0000
committerUlrich Müller <ulm@gentoo.org>2009-04-12 13:53:08 +0000
commit834a61772bc791d295a50b7fe197946143132623 (patch)
treec255c64bb7d7ac9625f757a65583abad38f3b61d /app-emacs/emacs-common-gentoo
parentCall gnome2_icon_savelist in pkg_preinst, bug 155993. (diff)
downloadgentoo-2-834a61772bc791d295a50b7fe197946143132623.tar.gz
gentoo-2-834a61772bc791d295a50b7fe197946143132623.tar.bz2
gentoo-2-834a61772bc791d295a50b7fe197946143132623.zip
Call gnome2_icon_savelist in src_install instead of pkg_preinst.
(Portage version: 2.2_rc30/cvs/Linux i686)
Diffstat (limited to 'app-emacs/emacs-common-gentoo')
-rw-r--r--app-emacs/emacs-common-gentoo/ChangeLog4
-rw-r--r--app-emacs/emacs-common-gentoo/emacs-common-gentoo-0.3.ebuild5
-rw-r--r--app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild7
3 files changed, 5 insertions, 11 deletions
diff --git a/app-emacs/emacs-common-gentoo/ChangeLog b/app-emacs/emacs-common-gentoo/ChangeLog
index d41491eb8649..042552df2a94 100644
--- a/app-emacs/emacs-common-gentoo/ChangeLog
+++ b/app-emacs/emacs-common-gentoo/ChangeLog
@@ -1,10 +1,10 @@
# ChangeLog for app-emacs/emacs-common-gentoo
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/ChangeLog,v 1.11 2009/04/12 13:40:21 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/ChangeLog,v 1.12 2009/04/12 13:53:08 ulm Exp $
12 Apr 2009; Ulrich Mueller <ulm@gentoo.org>
emacs-common-gentoo-0.3.ebuild, emacs-common-gentoo-1.0.ebuild:
- Call gnome2_icon_savelist in pkg_preinst, bug 155993.
+ Call gnome2_icon_savelist in src_install, bug 155993.
04 Apr 2009; Brent Baude <ranger@gentoo.org>
emacs-common-gentoo-1.0.ebuild:
diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-0.3.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-0.3.ebuild
index 62198d055601..381dd895e9a3 100644
--- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-0.3.ebuild
+++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-0.3.ebuild,v 1.2 2009/04/12 13:40:21 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-0.3.ebuild,v 1.3 2009/04/12 13:53:08 ulm Exp $
inherit eutils fdo-mime gnome2-utils
@@ -25,9 +25,6 @@ src_install() {
insinto /usr/share/icons/hicolor/${i}x${i}/apps
newins emacs_${i}.png emacs.png
done
-}
-
-pkg_preinst() {
gnome2_icon_savelist
}
diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild
index 2172a0f7b63b..940714a07986 100644
--- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild
+++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild,v 1.12 2009/04/12 13:40:21 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.0.ebuild,v 1.13 2009/04/12 13:53:08 ulm Exp $
inherit elisp-common eutils fdo-mime gnome2-utils
@@ -38,6 +38,7 @@ src_install() {
insinto /usr/share/icons/hicolor/${i}x${i}/apps
newins emacs_${i}.png emacs.png || die
done
+ gnome2_icon_savelist
fi
}
@@ -72,10 +73,6 @@ pkg_config() {
fi
}
-pkg_preinst() {
- use X && gnome2_icon_savelist
-}
-
pkg_postinst() {
if use X; then
fdo-mime_desktop_database_update