diff options
author | lpsolit%gmail.com <> | 2006-06-21 09:44:46 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-06-21 09:44:46 +0200 |
commit | c41117346f48774e5c6731303702b5ce98db517b (patch) | |
tree | 96cd49de1876e195d8df5760a5519563db41ae24 /checksetup.pl | |
parent | e6f88531bd8d4b4d1e36ed078272dac521fcc6e9 (diff) | |
download | bugzilla-c41117346f48774e5c6731303702b5ce98db517b.tar.gz bugzilla-c41117346f48774e5c6731303702b5ce98db517b.tar.xz |
Bug 282121: Remove globals.pl from scripts that no longer use it - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 8 |
1 files changed, 1 insertions, 7 deletions
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; |