diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-09 13:24:48 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-09 13:24:48 +0000 |
commit | 01b2a95e839fb2b50e16c531b5835ae450b218d8 (patch) | |
tree | 6c1069c24d1c55f7e05509d62863e099e6c3c314 /urpm | |
parent | 8025e4c151c0ec812401ded5504b80151ed7e418 (diff) | |
download | urpmi-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.pm | 1 | ||||
-rw-r--r-- | urpm/cfg.pm | 1 |
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 |