Unverified Commit 274d6f18 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #653 from ikedas/issue-652 by ikedas

Improve handling of missing `sympa/web_tt2` during upgrade #652
parents 5f2756f8 6db6f9b8
......@@ -1319,8 +1319,11 @@ sub upgrade {
'Setting web interface colors to new defaults.');
if (-d "$Conf::Conf{'etc'}/web_tt2") {
$log->syslog('info', 'Saving main web_tt2 directory');
my @robots = Sympa::List::get_robots();
foreach my $robot (@robots) {
if (-f "$Conf::Conf{'etc'}/$robot/robot.conf") {
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