summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-12-10 16:30:57 +0000
committerFrancois Pons <fpons@mandriva.com>2002-12-10 16:30:57 +0000
commit933d4974697b7561b1ea880c4b7d9b75d92087bd (patch)
treefeafc352a3fa72a1590577aa7db2938634fe84b3 /urpme
parentf7ed619b0b08764dc83b0bc8c314c59b8fecac48 (diff)
downloadurpmi-933d4974697b7561b1ea880c4b7d9b75d92087bd.tar
urpmi-933d4974697b7561b1ea880c4b7d9b75d92087bd.tar.gz
urpmi-933d4974697b7561b1ea880c4b7d9b75d92087bd.tar.bz2
urpmi-933d4974697b7561b1ea880c4b7d9b75d92087bd.tar.xz
urpmi-933d4974697b7561b1ea880c4b7d9b75d92087bd.zip
4.1-11mdk
Diffstat (limited to 'urpme')
-rw-r--r--urpme4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpme b/urpme
index b175b9bc..a5a58a78 100644
--- a/urpme
+++ b/urpme
@@ -28,7 +28,7 @@ use urpm;
#- get I18N translation method.
import urpm _;
-my ($auto, $matches, $maymatch, @l, @m, @toremove, %base);
+my ($auto, $matches, $maymatch, @l, @m, %base);
my $askok = _("Is this OK?");
my $askrm = _("Remove them all?");
# Translator: Add here the keys which might be pressed in the "No"-case.
@@ -59,7 +59,7 @@ $state = {};
#- open database to examine packages...
{
- my $db = URPM::DB::open('/', 0); #- open in read/write mode directly (so open it only once).
+ my $db = URPM::DB::open;
@l = grep { !/^-/ } @ARGV;
if (!$matches) {