diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-09 22:30:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-09 22:30:00 +0000 |
commit | a776d3e2f81b9d2ee3394956f5b726142b0fbf2c (patch) | |
tree | 61782dcddeebb9cbe8f7c9da6de7f22d909bf655 /urpm.pm | |
parent | 7a62087448c9a58ec1b9afe15977a24b55646f77 (diff) | |
download | urpmi-a776d3e2f81b9d2ee3394956f5b726142b0fbf2c.tar urpmi-a776d3e2f81b9d2ee3394956f5b726142b0fbf2c.tar.gz urpmi-a776d3e2f81b9d2ee3394956f5b726142b0fbf2c.tar.bz2 urpmi-a776d3e2f81b9d2ee3394956f5b726142b0fbf2c.tar.xz urpmi-a776d3e2f81b9d2ee3394956f5b726142b0fbf2c.zip |
(db_open_or_die__) ahem...
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -283,9 +283,11 @@ sub db_open_or_die_ { } sub db_open_or_die__ { - if ($options{rpmdb}) { + my ($urpm, $o_rpmdb) = @_; + my $db; + if ($o_rpmdb) { $db = new URPM; - $db->parse_synthesis($options{rpmdb}); + $db->parse_synthesis($p_rpmdb); } else { $db = urpm::db_open_or_die_($urpm); } |