aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/open_db.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-10 09:45:24 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-10 09:45:24 +0000
commit1d6d971cea932462c5594b0b5d057cdbfbf2081e (patch)
treed989350aa876fed89b3c02882fd6bf8135dd4e5f /Rpmdrake/open_db.pm
parent185d51d277a0b6f66cfd6beb8ccf8c6fe5d823dd (diff)
downloadrpmdrake-1d6d971cea932462c5594b0b5d057cdbfbf2081e.tar
rpmdrake-1d6d971cea932462c5594b0b5d057cdbfbf2081e.tar.gz
rpmdrake-1d6d971cea932462c5594b0b5d057cdbfbf2081e.tar.bz2
rpmdrake-1d6d971cea932462c5594b0b5d057cdbfbf2081e.tar.xz
rpmdrake-1d6d971cea932462c5594b0b5d057cdbfbf2081e.zip
(open_rpm_db) remove dead code that wrongly sliped in in last commit
Diffstat (limited to 'Rpmdrake/open_db.pm')
-rw-r--r--Rpmdrake/open_db.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm
index 70c5d2df..d7b3de40 100644
--- a/Rpmdrake/open_db.pm
+++ b/Rpmdrake/open_db.pm
@@ -59,7 +59,7 @@ sub open_rpm_db {
$db = new URPM;
$db->parse_synthesis("$::env/rpmdb.cz");
} else {
- $db = URPM::DB::open($::env || $::rpmdrake_options{'rpm-root'}[0]);
+ $db = URPM::DB::open($::rpmdrake_options{'rpm-root'}[0]);
}
$db or die "Couldn't open RPM DB (" . ($::env ? "$::env/rpmdb.cz" : $::rpmdrake_options{'rpm-root'}[0]) . ")";
}