Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
f6737109
Commit
f6737109
authored
Apr 27, 2002
by
myk%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 139930: checksetup.pl no longer fails if data/params does not exist
Patch by Myk Melez <myk@mozilla.org> r=bbaetz,gerv
parent
4c2187f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
+16
-15
checksetup.pl
checksetup.pl
+16
-15
No files found.
checksetup.pl
View file @
f6737109
...
...
@@ -741,8 +741,20 @@ END
# Just to be sure ...
unlink
"data/versioncache"
;
# Remove parameters from the data/params file that no longer exist in Bugzilla.
if
(
-
e
"data/params"
)
{
require
"data/params"
;
require
"defparams.pl"
;
use
vars
@::param_list
;
foreach
my
$item
(
keys
%::
param
)
{
if
(
!
grep
(
$_
eq
$item
,
@::param_list
)
&&
$item
ne
"version"
)
{
print
"The $item parameter is no longer used in Bugzilla\n"
.
"and has been removed from your parameters file.\n"
;
delete
$::param
{
$item
};
}
}
WriteParams
();
}
###########################################################################
...
...
@@ -862,6 +874,7 @@ EOF
fixPerms
(
'.htaccess'
,
$<
,
$webservergid
,
027
);
# glob('*') doesn't catch dotfiles
fixPerms
(
'data/.htaccess'
,
$<
,
$webservergid
,
027
);
fixPerms
(
'data/webdot/.htaccess'
,
$<
,
$webservergid
,
027
);
fixPerms
(
'data/params'
,
$<
,
$webservergid
,
017
);
fixPerms
(
'*'
,
$<
,
$webservergid
,
027
);
fixPerms
(
'template'
,
$<
,
$webservergid
,
027
,
1
);
fixPerms
(
'css'
,
$<
,
$webservergid
,
027
,
1
);
...
...
@@ -875,6 +888,7 @@ EOF
fixPerms
(
'.htaccess'
,
$<
,
$gid
,
022
);
# glob('*') doesn't catch dotfiles
fixPerms
(
'data/.htaccess'
,
$<
,
$gid
,
022
);
fixPerms
(
'data/webdot/.htaccess'
,
$<
,
$gid
,
022
);
fixPerms
(
'data/params'
,
$<
,
$gid
,
011
);
fixPerms
(
'*'
,
$<
,
$gid
,
022
);
fixPerms
(
'template'
,
$<
,
$gid
,
022
,
1
);
fixPerms
(
'css'
,
$<
,
$gid
,
022
,
1
);
...
...
@@ -2741,17 +2755,4 @@ if (GetFieldDef("logincookies", "hostname")) {
unlink
"data/versioncache"
;
# Remove parameters from the data/params file that no longer exist in Bugzilla.
require
"data/params"
;
require
"defparams.pl"
;
use
vars
@::param_list
;
foreach
my
$item
(
keys
%::
param
)
{
if
(
!
grep
(
$_
eq
$item
,
@::param_list
)
&&
$item
ne
"version"
)
{
print
"The $item parameter is no longer used in Bugzilla\n"
.
"and has been removed from your parameters file.\n"
;
delete
$::param
{
$item
};
}
}
WriteParams
();
print
"Reminder: Bugzilla now requires version 8.7 or later of sendmail.\n"
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment