From c41117346f48774e5c6731303702b5ce98db517b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 21 Jun 2006 07:44:46 +0000 Subject: Bug 282121: Remove globals.pl from scripts that no longer use it - Patch by Frédéric Buclin r=mkanat a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- checksetup.pl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index ff51aacf9..f77f0dba6 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1048,11 +1048,6 @@ while (my ($table, $values) = each %$enum_values) { # Create initial --DATA-- directory and make the initial empty files there: # -# The |require "globals.pl"| above ends up creating a template object with -# a COMPILE_DIR of "$datadir". This means that TT creates the directory for us, -# so this code wouldn't run if we just checked for the existence of the -# directory. Instead, check for the existence of '$datadir/nomail', which is -# created in this block unless (-d $datadir && -e "$datadir/nomail") { print "Creating data directory ($datadir) ...\n"; # permissions for non-webservergroup are fixed later on @@ -1596,8 +1591,7 @@ if ($^O !~ /MSWin32/i) { fixPerms('css', $<, $webservergid, 027, 1); fixPerms('skins', $<, $webservergid, 027, 1); fixPerms('js', $<, $webservergid, 027, 1); - chmod 0644, 'globals.pl'; - + # Don't use fixPerms here, because it won't change perms # on the directory unless it's using recursion chown $<, $webservergid, $datadir; -- cgit v1.2.3-24-g4f1b