Ticket #1613: mythfilldatabasecron.patch

File mythfilldatabasecron.patch, 726 bytes (added by randallb@…, 15 years ago)

Patch for mythfilldatabasecron - fixes the here document in the mail command

  • mythfilldatabasecron

    old new  
    1616DAYS_LEFT=`mysql --skip-column-names -B -D $DB --execute "$SQL"`
    1717
    1818if [ $DAYS_LEFT -lt $MIN_DAYS ]; then
    19        mail -s "[MYTHTV] Only $DAYS_LEFT days of programs left!" $EMAIL <<-END
    20                Maybe you should check if mythfilldatabase is configured
    21                correctly or that your XMLTV service provider is still
    22                on-line?
    23        END
     19        mail -s "[MYTHTV] Only $DAYS_LEFT days of programs left!" $EMAIL <<-END
     20                Maybe you should check if mythfilldatabase is configured
     21                correctly or that your XMLTV service provider is still
     22                on-line?
     23        END
    2424fi