summaryrefslogtreecommitdiffstats
path: root/urpmi.update
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-19 12:10:00 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-04-19 12:10:00 +0000
commit7f79f78d1a0af648a116cd1e39a073e051502b9c (patch)
tree8ae051619b77ff62baad7c689d6eadb68401cbcc /urpmi.update
parentf2afab2525937a0a6e3028b78ea1763696ac7cee (diff)
downloadurpmi-7f79f78d1a0af648a116cd1e39a073e051502b9c.tar
urpmi-7f79f78d1a0af648a116cd1e39a073e051502b9c.tar.gz
urpmi-7f79f78d1a0af648a116cd1e39a073e051502b9c.tar.bz2
urpmi-7f79f78d1a0af648a116cd1e39a073e051502b9c.tar.xz
urpmi-7f79f78d1a0af648a116cd1e39a073e051502b9c.zip
Some more options refactorisation. The --from option of urpmi.addmedia
was being ignored; fix it.
Diffstat (limited to 'urpmi.update')
-rwxr-xr-xurpmi.update4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmi.update b/urpmi.update
index 2a591329..5a5abc7f 100755
--- a/urpmi.update
+++ b/urpmi.update
@@ -20,7 +20,7 @@
use strict;
use urpm;
-use urpm::args;
+use urpm::args 'options';
use urpm::msg;
sub usage {
@@ -45,7 +45,7 @@ where <name> is a medium name to update.
}
sub main {
- our (@toupdates, %options);
+ our @toupdates;
my $urpm = new urpm;
$options{force} = 0;