summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-11-09 20:38:25 +0000
committerFrancois Pons <fpons@mandriva.com>1999-11-09 20:38:25 +0000
commitd92b13883fbf6acce6c39cb76484accc56bce0c3 (patch)
treecfc9c50359dca43fb7169bdae397b1208b329f79 /perl-install/pkgs.pm
parenteb53575902c0282896e92d7d6d76a89bca420e5a (diff)
downloaddrakx-d92b13883fbf6acce6c39cb76484accc56bce0c3.tar
drakx-d92b13883fbf6acce6c39cb76484accc56bce0c3.tar.gz
drakx-d92b13883fbf6acce6c39cb76484accc56bce0c3.tar.bz2
drakx-d92b13883fbf6acce6c39cb76484accc56bce0c3.tar.xz
drakx-d92b13883fbf6acce6c39cb76484accc56bce0c3.zip
*** empty log message ***
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index cb12fdb8d..0179bf45d 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -300,7 +300,7 @@ sub init_db {
my ($prefix, $isUpgrade) = @_;
my $f = "$prefix/root/install.log";
-# open(LOG, "> $f") ? log::l("opened $f") : log::l("Failed to open $f. No install log will be kept.");
+ open(LOG, "> $f") ? log::l("opened $f") : log::l("Failed to open $f. No install log will be kept.");
*LOG or *LOG = log::F() or *LOG = *STDERR;
CORE::select((CORE::select(LOG), $| = 1)[0]);
c::rpmErrorSetCallback(fileno LOG);
@@ -315,7 +315,7 @@ sub init_db {
sub done_db {
log::l("closing install.log file");
- # close LOG;
+ close LOG;
}
sub getHeader($) {