summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2000-12-15 02:48:01 +0100
committergerv%gerv.net <>2000-12-15 02:48:01 +0100
commita8df8cfd43eb8a2d2cfad07711b7d2e43ce875e1 (patch)
tree4bc0e89cb466336e7c9ca2e8978ce8091a76f71e /checksetup.pl
parent6fb4c1bbf40248f37cf88be7b0c7e9371520b9c3 (diff)
downloadbugzilla-a8df8cfd43eb8a2d2cfad07711b7d2e43ce875e1.tar.gz
bugzilla-a8df8cfd43eb8a2d2cfad07711b7d2e43ce875e1.tar.xz
Fix duplicates table check; make sure we create graphs directory.
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl7
1 files changed, 3 insertions, 4 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 2860a062d..824802ec6 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -1784,14 +1784,13 @@ if (!($sth->fetchrow_arrayref()->[0])) {
}
# 2000-12-14 New graphing system requires a directory to put the graphs in
-# How do we make the new directory owned by the webserver's group? Until
-# we find out, make it 0777.
+# This code copied from what happens for the 'data' dir above.
unless (-d 'graphs') {
print "Creating graphs directory ...\n";
- mkdir 'graphs', 0777; # was 0770 in the code (above) I pinched this from
+ mkdir 'graphs', 0770;
if ($::webservergroup eq "") {
chmod 0777, 'graphs';
- }
+ }
}