summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2000-09-26 03:47:39 +0000
committerDaniel Robbins <drobbins@gentoo.org>2000-09-26 03:47:39 +0000
commite67df4ba9274273f8639910f8e5b8841d89130dd (patch)
treed43558e4d95a2ffa2a0ac0d5eb927e4588f0d616
parentGNU ed now installed by default (diff)
downloadgentoo-2-e67df4ba9274273f8639910f8e5b8841d89130dd.tar.gz
gentoo-2-e67df4ba9274273f8639910f8e5b8841d89130dd.tar.bz2
gentoo-2-e67df4ba9274273f8639910f8e5b8841d89130dd.zip
added back dyn_touch
-rw-r--r--sys-apps/portage/files/ebuild12
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)