From dd0b4ff411b827d183b02cca6fcc70ae765eb3c3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 6 Sep 2006 04:48:10 +0000 Subject: 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(-) (limited to 'bin') 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 -- cgit v1.2.3-1-g7c22