diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-10-28 21:25:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-10-28 21:25:27 +0000 |
commit | 2b00dd92f366d92cb999bd3fe81fb3821a509293 (patch) | |
tree | c6ef4a206a37680d0c18aa932a64f0cd09edba34 /sys-apps/busybox | |
parent | Version bump (diff) | |
download | gentoo-2-2b00dd92f366d92cb999bd3fe81fb3821a509293.tar.gz gentoo-2-2b00dd92f366d92cb999bd3fe81fb3821a509293.tar.bz2 gentoo-2-2b00dd92f366d92cb999bd3fe81fb3821a509293.zip |
only pull files out of $D when needed #153015
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'sys-apps/busybox')
-rw-r--r-- | sys-apps/busybox/busybox-1.2.1.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys-apps/busybox/busybox-1.2.1.ebuild b/sys-apps/busybox/busybox-1.2.1.ebuild index dddb45bccf77..fba84c601907 100644 --- a/sys-apps/busybox/busybox-1.2.1.ebuild +++ b/sys-apps/busybox/busybox-1.2.1.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/sys-apps/busybox/busybox-1.2.1.ebuild,v 1.19 2006/09/27 17:33:03 ferdy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/busybox-1.2.1.ebuild,v 1.20 2006/10/28 21:25:27 vapier Exp $ inherit eutils flag-o-matic @@ -243,8 +243,12 @@ pkg_preinst() { die "silly options will destroy your system" fi - mv "${D}"/usr/share/${PN}/busybox-links.tar "${T}"/ || die - mv "${D}"/usr/share/${PN}/${PF}.config "${T}"/ || die + if use make-symlinks ; then + mv "${D}"/usr/share/${PN}/busybox-links.tar "${T}"/ || die + fi + if use savedconfig ; then + mv "${D}"/usr/share/${PN}/${PF}.config "${T}"/ || die + fi } pkg_postinst() { |