projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa826cb
)
Make --prune and --depclean return before calculating dependencies if atoms are given...
author
Zac Medico
<zmedico@gentoo.org>
Sat, 21 Jul 2007 09:43:02 +0000
(09:43 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 21 Jul 2007 09:43:02 +0000
(09:43 -0000)
svn path=/main/branches/2.1.2/; revision=7337
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 881923e94d97636734e026d06e201048489b3d87..518872475db6f1603b4c708a5866396ae8e5d2ea 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-5302,6
+5302,15
@@
def action_depclean(settings, trees, ldpath_mtimes,
print
return
args_set.add(atom)
+ matched_packages = False
+ for x in args_set:
+ if vardb.match(x):
+ matched_packages = True
+ break
+ if not matched_packages:
+ portage.writemsg_stdout(
+ ">>> No packages selected for removal by %s\n" % action)
+ return
if "--quiet" not in myopts:
print "\nCalculating dependencies ",