summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-08-26 14:22:51 +0000
committerFrancois Pons <fpons@mandriva.com>2003-08-26 14:22:51 +0000
commitae9b8d7c18526916e3c2d2671ce57f608417278a (patch)
tree71c65fa3632b19cf23ead7ffa8551b284c8014d3
parent18ac60ea8be11e02efa1b82b63b7e1430c6bceec (diff)
downloadurpmi-ae9b8d7c18526916e3c2d2671ce57f608417278a.tar
urpmi-ae9b8d7c18526916e3c2d2671ce57f608417278a.tar.gz
urpmi-ae9b8d7c18526916e3c2d2671ce57f608417278a.tar.bz2
urpmi-ae9b8d7c18526916e3c2d2671ce57f608417278a.tar.xz
urpmi-ae9b8d7c18526916e3c2d2671ce57f608417278a.zip
print "Everything already installed" only if some packages were given on command
line, this is simple though ? why it hasn't been added before ? Who knows ?
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index 15d120a2..a8456906 100755
--- a/urpmi
+++ b/urpmi
@@ -780,7 +780,7 @@ if ($nok) {
} else {
if ($test) {
message(N("Installation is possible"));
- } else {
+ } elsif (@names || @src_names || @files || @src_files) {
@{$state->{transaction} || []} == 0 && $verbose >= 0 and message(N("Everything already installed"), $auto);
}
}