diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-24 02:34:06 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-24 02:34:06 +0000 |
commit | 67f38cfed5f0a4b6a0a628c02b3f0adea4def056 (patch) | |
tree | 02de9f7403050b970b456678afa3e96e2192f877 /perl-install/pkgs.pm | |
parent | 785272cbd291828a9e3e40fd963336f2a8af6040 (diff) | |
download | drakx-67f38cfed5f0a4b6a0a628c02b3f0adea4def056.tar drakx-67f38cfed5f0a4b6a0a628c02b3f0adea4def056.tar.gz drakx-67f38cfed5f0a4b6a0a628c02b3f0adea4def056.tar.bz2 drakx-67f38cfed5f0a4b6a0a628c02b3f0adea4def056.tar.xz drakx-67f38cfed5f0a4b6a0a628c02b3f0adea4def056.zip |
Remove rpm 4.2 bug workaround, it may confuse rpm in some cases
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r-- | perl-install/pkgs.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 19ac4f1d7..8614d57af 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -849,7 +849,6 @@ sub openInstallLog() { open(my $LOG, ">> $f") ? log::l("opened $f") : log::l("Failed to open $f. No install log will be kept."); #-# CORE::select((CORE::select($LOG), $| = 1)[0]); c::rpmErrorSetCallback(fileno $LOG); -#- c::rpmSetVeryVerbose(); $LOG; } @@ -883,14 +882,6 @@ sub rpmDbOpen { } sub rpmDbOpenForInstall() { - - #- there is a bug in rpm 4.2 where all operations for accessing rpmdb files are not - #- always done using prefix, we need to setup a symlink in /var/lib/rpm for that ... - if (! -d '/var/lib/rpm') { - mkdir_p('/var/lib'); - symlinkf "$::prefix/var/lib/rpm", "/var/lib/rpm"; - } - my $db = URPM::DB::open($::prefix, 1); $db and log::l("opened rpmdb for writing in $::prefix"); $db; |