From 8a33aa37d5a5ec2000661c55ae70f2273b94ede4 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Wed, 23 Oct 2002 15:34:11 +0000 Subject: [PATCH] Installer script wasn't renaming koha.conf.tmp to koha.conf --- Install.pm | 3 --- installer.pl | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Install.pm b/Install.pm index 166dabb80e..e06edb4f82 100644 --- a/Install.pm +++ b/Install.pm @@ -1246,9 +1246,6 @@ sub restartapache { } -# Installation is complete. Rename the koha.conf.tmp file - -rename "$::etcdir/koha.conf.tmp", "$::etcdir/koha.conf" || warn "Couldn't rename file at $::etcdir. Must have write capability.\n"; sub loadconfigfile { my %configfile; diff --git a/installer.pl b/installer.pl index dc858733c1..81d8aa6e85 100644 --- a/installer.pl +++ b/installer.pl @@ -93,6 +93,11 @@ databasesetup(); restartapache(); + +# Installation is complete. Rename the koha.conf.tmp file + +rename "$::etcdir/koha.conf.tmp", "$::etcdir/koha.conf" || warn "Couldn't rename file at $::etcdir. Must have write capability.\n"; + showmessage(getmessage('AuthenticationWarning'), 'PressEnter');