diff options
author | Francois Pons <fpons@mandriva.com> | 2002-12-10 16:30:57 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-12-10 16:30:57 +0000 |
commit | 933d4974697b7561b1ea880c4b7d9b75d92087bd (patch) | |
tree | feafc352a3fa72a1590577aa7db2938634fe84b3 /urpme | |
parent | f7ed619b0b08764dc83b0bc8c314c59b8fecac48 (diff) | |
download | urpmi-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-- | urpme | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |