aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Rpmdragora
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AdminPanel/Rpmdragora')
-rw-r--r--lib/AdminPanel/Rpmdragora/open_db.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AdminPanel/Rpmdragora/open_db.pm b/lib/AdminPanel/Rpmdragora/open_db.pm
index b8239d94..e2e6562a 100644
--- a/lib/AdminPanel/Rpmdragora/open_db.pm
+++ b/lib/AdminPanel/Rpmdragora/open_db.pm
@@ -76,7 +76,7 @@ sub open_rpm_db {
$db = new URPM;
$db->parse_synthesis("$::env/rpmdb.cz");
} else {
- $db = URPM::DB::open($::rpmdragora_options{'rpm-root'}[0]);
+ $db = URPM::DB::open($::rpmdragora_options{'rpm-root'}[0]||'');
}
$db or die "Couldn't open RPM DB (" . ($::env ? "$::env/rpmdb.cz" : $::rpmdragora_options{'rpm-root'}[0]) . ")";
}