From 933d4974697b7561b1ea880c4b7d9b75d92087bd Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 10 Dec 2002 16:30:57 +0000 Subject: 4.1-11mdk --- urpme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpme') 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) { -- cgit v1.2.1