summaryrefslogtreecommitdiffstats
path: root/urpm
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 /urpm
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 'urpm')
-rw-r--r--urpm/args.pm1
-rw-r--r--urpm/cfg.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 1acf0640..58d42bed 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -130,6 +130,7 @@ my %options_spec = (
'excludedocs|exclude-docs' => sub { $urpm->{options}{excludedocs} = 1 },
'ignoresize' => sub { $urpm->{options}{ignoresize} = 1 },
noscripts => sub { $urpm->{options}{noscripts} = 1 },
+ repackage => sub { $urpm->{options}{repackage} = 1 },
'more-choices' => sub { $urpm->{options}{morechoices} = 1 },
'expect-install!' => \$::expect_install,
'nolock' => \$::nolock,
diff --git a/urpm/cfg.pm b/urpm/cfg.pm
index 581c4fa8..887cb545 100644
--- a/urpm/cfg.pm
+++ b/urpm/cfg.pm
@@ -173,6 +173,7 @@ sub load_config ($;$) {
|compress
|keep
|auto
+ |repackage
|strict-arch
|nopubkey
|resume)(?:\s*:\s*(.*))?$/x