summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2006-02-03 23:08:09 +0000
committerAlec Warner <antarus@gentoo.org>2006-02-03 23:08:09 +0000
commit236e4e28c461bdddb2e86494890558227afba5c0 (patch)
tree33130dfb00d26005cbc3d08a897c7964426c09ae
parenta2899efe904e4394cd297de9bec98d04a3984890 (diff)
downloadportage-236e4e28c461bdddb2e86494890558227afba5c0.tar.gz
portage-236e4e28c461bdddb2e86494890558227afba5c0.tar.bz2
portage-236e4e28c461bdddb2e86494890558227afba5c0.zip
Fix for bug #119049
svn path=/main/trunk/; revision=2645
-rwxr-xr-xbin/emerge4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 1317b25a5..563c659b1 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -3132,7 +3132,9 @@ elif "depclean"==myaction:
print "\n!!! Proceeding will break your installation.\n"
countdown(EMERGE_WARNING_DELAY, ">>> Depclean")
- emergelog(" >>> depclean")
+ if not "--pretend" in myopts": #just check pretend, since --ask implies pretend bug #119049
+ emergelog(" >>> depclean")
+
mydepgraph=depgraph(myaction,myopts)
if not ("--quiet" in myopts):