summaryrefslogtreecommitdiffstats
path: root/urpmi.update
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-04-24 19:34:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-04-24 19:34:32 +0000
commit4df7583caa71a35d6d68c373fc0c62d1be6d955b (patch)
treebddf36169b314d82ff20036dea7e47fa4fec5bcd /urpmi.update
parent7a606ec3537b2f465f8e06e99b445c756bfcca8f (diff)
downloadurpmi-4df7583caa71a35d6d68c373fc0c62d1be6d955b.tar
urpmi-4df7583caa71a35d6d68c373fc0c62d1be6d955b.tar.gz
urpmi-4df7583caa71a35d6d68c373fc0c62d1be6d955b.tar.bz2
urpmi-4df7583caa71a35d6d68c373fc0c62d1be6d955b.tar.xz
urpmi-4df7583caa71a35d6d68c373fc0c62d1be6d955b.zip
re-sync after the big svn loss
Diffstat (limited to 'urpmi.update')
-rwxr-xr-xurpmi.update8
1 files changed, 6 insertions, 2 deletions
diff --git a/urpmi.update b/urpmi.update
index 4dd84128..d47e7a70 100755
--- a/urpmi.update
+++ b/urpmi.update
@@ -43,9 +43,11 @@ where <name> is a medium name to update.
") . N(" --force-key - force update of gpg key.
") . N(" --ignore - don't update, mark the media as ignored.
") . N(" --no-ignore - don't update, mark the media as enabled.
+") . N(" --urpmi-root - use another root for urpmi db & rpm installation.
+") . N(" --probe-rpms - do not use synthesis/hdlist, use rpm files directly
") . N(" -a - select all non-removable media.
") . N(" -c - clean headers cache directory.
-") . N(" -f - force generation of hdlist files.
+") . N(" -f - force updating synthesis/hdlist
") . N(" -q - quiet mode.
") . N(" -v - verbose mode.
");
@@ -100,7 +102,9 @@ if (defined $options{ignore}) {
$urpm->{log}($options{ignore} ? N("ignoring media %s", $str) : N("enabling media %s", $str));
urpm::media::write_config($urpm);
} else {
- urpm::media::update_media($urpm, %options, callback => \&urpm::download::sync_logger);
+ urpm::media::update_media($urpm, %options,
+ quiet => $options{verbose} < 0,
+ callback => \&urpm::download::sync_logger);
#- try to umount removable device which may have been mounted.
urpm::removable::try_umounting_removables($urpm);
}