diff options
Diffstat (limited to 'x11-misc/dmenu')
-rw-r--r-- | x11-misc/dmenu/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/dmenu/dmenu-1.8-r1.ebuild | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/x11-misc/dmenu/ChangeLog b/x11-misc/dmenu/ChangeLog index 3a36009a2f2e..2bc4328c1693 100644 --- a/x11-misc/dmenu/ChangeLog +++ b/x11-misc/dmenu/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-misc/dmenu -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.2 2006/12/29 23:12:51 cedk Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.3 2007/01/07 14:53:07 cedk Exp $ + + 07 Jan 2007; Cedric Krier <cedk@gentoo.org> dmenu-1.8-r1.ebuild: + Improve pkg_preinst *dmenu-1.8-r1 (29 Dec 2006) diff --git a/x11-misc/dmenu/dmenu-1.8-r1.ebuild b/x11-misc/dmenu/dmenu-1.8-r1.ebuild index 285015487776..a58132f0bed0 100644 --- a/x11-misc/dmenu/dmenu-1.8-r1.ebuild +++ b/x11-misc/dmenu/dmenu-1.8-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/dmenu-1.8-r1.ebuild,v 1.1 2006/12/29 23:12:51 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/dmenu-1.8-r1.ebuild,v 1.2 2007/01/07 14:53:07 cedk Exp $ inherit toolchain-funcs @@ -61,7 +61,9 @@ src_install() { } pkg_preinst() { - mv "${D}"/usr/share/${PN}/${PF}.config.h "${T}"/ + if use savedconfig; then + mv "${D}"/usr/share/${PN}/${PF}.config.h "${T}"/ + fi } pkg_postinst() { |