summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-06 04:48:10 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-06 04:48:10 +0000
commitdd0b4ff411b827d183b02cca6fcc70ae765eb3c3 (patch)
tree4ecce6a6efd64aba3954c36e5ff6b84018459ad8 /bin/ebuild.sh
parentDuring env_update, raise a FileNotFound exception if a file is unexpectedly r... (diff)
downloadportage-multirepo-dd0b4ff411b827d183b02cca6fcc70ae765eb3c3.tar.gz
portage-multirepo-dd0b4ff411b827d183b02cca6fcc70ae765eb3c3.tar.bz2
portage-multirepo-dd0b4ff411b827d183b02cca6fcc70ae765eb3c3.zip
if user has FEATURES=noauto then dont check lame .installed file
svn path=/main/trunk/; revision=4411
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 6dda415b..d2a40c35 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