summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2004-02-25 09:26:19 +0000
committerFlorent Villard <warly@mandriva.com>2004-02-25 09:26:19 +0000
commit63777c2c3d21f9cde81eebc46fdd909b24f61116 (patch)
tree0296cbe36b981440198f33df40f5d020cb8db3e1 /perl-install/pkgs.pm
parent5b0c3512590aa7ecef1c6c3783b3ca9ee49a77b6 (diff)
downloaddrakx-63777c2c3d21f9cde81eebc46fdd909b24f61116.tar
drakx-63777c2c3d21f9cde81eebc46fdd909b24f61116.tar.gz
drakx-63777c2c3d21f9cde81eebc46fdd909b24f61116.tar.bz2
drakx-63777c2c3d21f9cde81eebc46fdd909b24f61116.tar.xz
drakx-63777c2c3d21f9cde81eebc46fdd909b24f61116.zip
revert my suckinessed / added to prefix
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 481c3331f..ebd00c587 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -791,7 +791,7 @@ sub rpmDbOpen {
my $rebuilddb_dir = "$prefix/var/lib/rpmrebuilddb.$$";
-d $rebuilddb_dir and log::l("removing stale directory $rebuilddb_dir"), rm_rf($rebuilddb_dir);
- URPM::DB::rebuild("$prefix/") or log::l("rebuilding of rpm database failed: " . c::rpmErrorString()), c::_exit(2);
+ URPM::DB::rebuild($prefix) or log::l("rebuilding of rpm database failed: " . c::rpmErrorString()), c::_exit(2);
c::_exit(0);
}