From cd9cf6add14c1d76c571eeb99331631d74d209d9 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sun, 30 Jul 2006 09:46:43 +0000 Subject: Bug 346414: Move the creation/maintenance of the data/ directory out of checksetup and into a module Patch By Max Kanat-Alexander (module owner) a=justdave --- checksetup.pl | 319 ++-------------------------------------------------------- 1 file changed, 9 insertions(+), 310 deletions(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index a08ae08f9..8f1fdd167 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -304,6 +304,9 @@ import Bugzilla::Bug qw(is_open_state); require Bugzilla::Install::Localconfig; import Bugzilla::Install::Localconfig qw(read_localconfig update_localconfig); +require Bugzilla::Install::Filesystem; +import Bugzilla::Install::Filesystem qw(update_filesystem create_htaccess); + require Bugzilla::DB; ########################################################################### @@ -336,317 +339,22 @@ my $dbh = Bugzilla->dbh; # Create tables ########################################################################### -# Note: table definitions are now in Bugzilla::DB::Schema. +# Note: --TABLE-- definitions are now in Bugzilla::DB::Schema. $dbh->bz_setup_database(); # Populate the tables that hold the values for the