From dd0b4ff411b827d183b02cca6fcc70ae765eb3c3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 6 Sep 2006 04:48:10 +0000 Subject: [PATCH] if user has FEATURES=noauto then dont check lame .installed file svn path=/main/trunk/; revision=4411 --- bin/ebuild.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 6dda415bd..d2a40c350 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -994,7 +994,9 @@ dyn_test() { dyn_install() { [ -z "$PORTAGE_BUILDDIR" ] && die "${FUNCNAME}: PORTAGE_BUILDDIR is unset" - if [ "${PORTAGE_BUILDDIR}/.installed" -nt "${WORKDIR}" ]; then + if hasq noauto $FEATURES ; then + rm -f "${PORTAGE_BUILDDIR}/.installed" + elif [[ ${PORTAGE_BUILDDIR}/.installed -nt ${WORKDIR} ]] ; then vecho ">>> It appears that '${PF}' is already installed; skipping." vecho ">>> Remove '${PORTAGE_BUILDDIR}/.installed' to force install." return 0 -- 2.26.2