summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-09 13:24:48 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-09 13:24:48 +0000
commit01b2a95e839fb2b50e16c531b5835ae450b218d8 (patch)
tree6c1069c24d1c55f7e05509d62863e099e6c3c314 /urpmi
parent8025e4c151c0ec812401ded5504b80151ed7e418 (diff)
downloadurpmi-01b2a95e839fb2b50e16c531b5835ae450b218d8.tar
urpmi-01b2a95e839fb2b50e16c531b5835ae450b218d8.tar.gz
urpmi-01b2a95e839fb2b50e16c531b5835ae450b218d8.tar.bz2
urpmi-01b2a95e839fb2b50e16c531b5835ae450b218d8.tar.xz
urpmi-01b2a95e839fb2b50e16c531b5835ae450b218d8.zip
Implement urpmi --repackage. Add a "repackage" global option in urpmi.cfg.
Document them.
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpmi b/urpmi
index f6baca16..9e9560dc 100755
--- a/urpmi
+++ b/urpmi
@@ -130,6 +130,7 @@ usage:
") . N(" --excludedocs - exclude doc files.
") . N(" --ignoresize - don't verify disk space before installation.
") . N(" --noscripts - do not execute package scriptlet(s)
+") . N(" --repackage - Re-package the files before erasing
") . N(" --skip - packages which installation should be skipped
") . N(" --more-choices - when several packages are found, propose more choices
than the default.
@@ -696,6 +697,7 @@ foreach my $set (@{$state->{transaction} || []}) {
test => $test,
excludepath => $urpm->{options}{excludepath},
excludedocs => $urpm->{options}{excludedocs},
+ repackage => $urpm->{options}{repackage},
post_clean_cache => $urpm->{options}{'post-clean'},
translate_message => 1,
oldpackage => $state->{oldpackage},