diff options
Diffstat (limited to 'utils/rhrd-schedules')
-rwxr-xr-x | utils/rhrd-schedules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/rhrd-schedules b/utils/rhrd-schedules index 26a2552..2dca8fd 100755 --- a/utils/rhrd-schedules +++ b/utils/rhrd-schedules @@ -150,7 +150,7 @@ sub show__day_entry ${$show}{'DOW'} = 7 if ${$show}{'DOW'} == 0; my @weeks = split('', ${$show}{'RHYTHM'}); - if ($title ne ${$show}{'TITLE'} && ($title . " (Wiederholung)") ne ${$show}{'TITLE'}) { + if (${$show}{'TYPE'} ne "s" && $title ne ${$show}{'TITLE'}) { print "WARNING: title mismatch (PV: '$title' != RD: '" . ${$show}{'TITLE'} . "') -- PV-id: $pvid\n"; return 1; } @@ -226,7 +226,7 @@ sub show__day print "($showid) -> $status: $errorstring\n"; $errcnt++; } else { - if ($title ne ${$show}{'TITLE'} && ($title . " (Wiederholung)") ne ${$show}{'TITLE'}) { + if (${$show}{'TYPE'} ne "s" && $title ne ${$show}{'TITLE'}) { print "($showid) -> WARNING: title mismatch (PV: '$title' != RD: '" . ${$show}{'TITLE'} . "') -- PV-id: $pvid\n"; $errcnt++; } else { |