summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {