summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2009-01-06 14:01:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2009-01-06 14:01:52 +0000
commit6b905e479a9b95995abd4ee94bc5c412a0ecd806 (patch)
tree0d165b5643c8a77e704ab8dbd7d9288c95f50986
parentd30a3901fed225f9476a7bdd29d4ceeeede81fc9 (diff)
downloadurpmi-6b905e479a9b95995abd4ee94bc5c412a0ecd806.tar
urpmi-6b905e479a9b95995abd4ee94bc5c412a0ecd806.tar.gz
urpmi-6b905e479a9b95995abd4ee94bc5c412a0ecd806.tar.bz2
urpmi-6b905e479a9b95995abd4ee94bc5c412a0ecd806.tar.xz
urpmi-6b905e479a9b95995abd4ee94bc5c412a0ecd806.zip
comment a hack
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index be8340c0..81adc6e8 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -284,6 +284,7 @@ sub db_open_or_die_ {
my ($urpm, $b_write_perm) = @_;
my $db;
if ($urpm->{env_rpmdb}) {
+ #- URPM has same methods as URPM::DB and empty URPM will be seen as empty URPM::DB.
$db = new URPM;
$db->parse_synthesis($urpm->{env_rpmdb});
} else {