summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Filesystem.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-05-21 07:00:57 +0200
committerlpsolit%gmail.com <>2008-05-21 07:00:57 +0200
commit5fcefed7417cd3580fc0779afb2793fac257d94b (patch)
treeab1c0e8fedd4a4ca06d51c80261e4171b8e5ecf0 /Bugzilla/Install/Filesystem.pm
parent6df961a57b388986fd2049013a44144126a41db2 (diff)
downloadbugzilla-5fcefed7417cd3580fc0779afb2793fac257d94b.tar.gz
bugzilla-5fcefed7417cd3580fc0779afb2793fac257d94b.tar.xz
Bug 380756: Remove duplicates.xul (and all the code related to it) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'Bugzilla/Install/Filesystem.pm')
-rw-r--r--Bugzilla/Install/Filesystem.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm
index c19cef403..8c6e7d52e 100644
--- a/Bugzilla/Install/Filesystem.pm
+++ b/Bugzilla/Install/Filesystem.pm
@@ -287,12 +287,8 @@ EOT
# It's harmless if it isn't accessible...
"$datadir/.htaccess" => { perms => $ws_readable, contents => <<EOT
# Nothing in this directory is retrievable unless overridden by an .htaccess
-# in a subdirectory; the only exception is duplicates.rdf, which is used by
-# duplicates.xul and must be accessible from the web server
+# in a subdirectory.
deny from all
-<Files duplicates.rdf>
- allow from all
-</Files>
EOT
@@ -371,6 +367,11 @@ EOT
unlink "$datadir/versioncache";
}
+ if (-e "$datadir/duplicates.rdf") {
+ print "Removing duplicates.rdf...\n";
+ unlink "$datadir/duplicates.rdf";
+ unlink "$datadir/duplicates-old.rdf";
+ }
}
# A simple helper for creating "empty" CSS files.