summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Filesystem.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-09-07 00:45:51 +0200
committermkanat%bugzilla.org <>2009-09-07 00:45:51 +0200
commit841b5d3961f31277c424a4432fc51f0ac4bf093f (patch)
treebd54b8b6bf308f7f33840d6a06d668ea722a16ef /Bugzilla/Install/Filesystem.pm
parent283d5785c782e3a79eb371cd6a223d19205bd175 (diff)
downloadbugzilla-841b5d3961f31277c424a4432fc51f0ac4bf093f.tar.gz
bugzilla-841b5d3961f31277c424a4432fc51f0ac4bf093f.tar.xz
Bug 176002: Move duplicate statistics into the db
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Install/Filesystem.pm')
-rw-r--r--Bugzilla/Install/Filesystem.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm
index fe9783805..763fd85bf 100644
--- a/Bugzilla/Install/Filesystem.pm
+++ b/Bugzilla/Install/Filesystem.pm
@@ -157,8 +157,6 @@ sub FILESYSTEM {
# Readable directories
"$datadir/mining" => { files => $ws_readable,
dirs => $ws_dir_readable },
- "$datadir/duplicates" => { files => $ws_readable,
- dirs => $ws_dir_readable },
"$libdir/Bugzilla" => { files => $ws_readable,
dirs => $ws_dir_readable },
$extlib => { files => $ws_readable,
@@ -379,6 +377,11 @@ EOT
unlink "$datadir/duplicates.rdf";
unlink "$datadir/duplicates-old.rdf";
}
+
+ if (-e "$datadir/duplicates") {
+ print "Removing duplicates directory...\n";
+ rmtree("$datadir/duplicates");
+ }
}
# A simple helper for creating "empty" CSS files.