Unverified Commit 5e4f5584 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #1146 from ikedas/issue-1144 by ikedas

Upgrading fails due to typos (#1144)
parents e885e826 361e2d02
......@@ -2101,11 +2101,11 @@ sub upgrade {
# blocklist.txt will be used instead of blacklist.txt
$log->syslog('notice', 'Rename blacklist.txt to blocklist.txt...');
_process_all_files(
'search_filter/blacklist.txt',
'search_filters/blacklist.txt',
sub {
my $dir = shift;
my $oldfile = shift;
my $newfile = 'search_filter/blocklist.txt';
my $newfile = 'search_filters/blocklist.txt';
rename($dir . '/' . $oldfile, $dir . '/' . $newfile)
or
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment