diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2000-09-26 03:47:39 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2000-09-26 03:47:39 +0000 |
commit | e67df4ba9274273f8639910f8e5b8841d89130dd (patch) | |
tree | d43558e4d95a2ffa2a0ac0d5eb927e4588f0d616 | |
parent | GNU ed now installed by default (diff) | |
download | gentoo-2-e67df4ba9274273f8639910f8e5b8841d89130dd.tar.gz gentoo-2-e67df4ba9274273f8639910f8e5b8841d89130dd.tar.bz2 gentoo-2-e67df4ba9274273f8639910f8e5b8841d89130dd.zip |
added back dyn_touch
-rw-r--r-- | sys-apps/portage/files/ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys-apps/portage/files/ebuild b/sys-apps/portage/files/ebuild index 398c5addd731..9cab957bee00 100644 --- a/sys-apps/portage/files/ebuild +++ b/sys-apps/portage/files/ebuild @@ -87,6 +87,16 @@ try() { fi } +dyn_touch() { + for x in ${A} + do + if [ -e ${DISTDIR}/${x} ] + then + touch ${DISTDIR}/${x} + fi + done +} + dyn_digest() { local x if [ ! -d ${FILESDIR} ] @@ -651,7 +661,7 @@ src_menu() { prerm|postrm|preinst|postinst|config) pkg_${MYfoo} ;; - help|clean|fetch|digest|pkginfo|pkgloc|unmerge|install) + help|touch|clean|fetch|digest|pkginfo|pkgloc|unmerge|install) dyn_${MYfoo} ;; package) |