diff options
-rw-r--r-- | lib/AdminPanel/Rpmdragora/open_db.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AdminPanel/Rpmdragora/open_db.pm b/lib/AdminPanel/Rpmdragora/open_db.pm index b8239d9..e2e6562 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]) . ")"; } |