From 01b2a95e839fb2b50e16c531b5835ae450b218d8 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 9 Feb 2006 13:24:48 +0000 Subject: Implement urpmi --repackage. Add a "repackage" global option in urpmi.cfg. Document them. --- urpm/args.pm | 1 + urpm/cfg.pm | 1 + 2 files changed, 2 insertions(+) (limited to 'urpm') 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 -- cgit v1.2.1