Changeset 46165 for titan


Ignore:
Timestamp:
08/11/22 13:09:21 (20 months ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localparser_secret/vavoo.sh

    r46164 r46165  
    218218            #LIST=$(cat /mnt/settings/bouquets.tithek.autoupdate.VaVoo.Germany.tv | sed 's/0#/#/g' | tr '\n' '#' | sed 's/##/#\\|#/g' | sed "s/^#/'/" | sed -e "s/#$/'/g")
    219219            #cat /mnt/settings/channel | grep -v $LIST| wc -l
    220             echo "cat /mnt/settings/channel | grep -v $LIST > /tmp/settings/channel.tmp" >> $TMP/$FILENAME.cmd.list
     220            if [ ! -z "$LIST" ];then
     221                echo "cat /mnt/settings/channel | grep -v $LIST > /tmp/settings/channel.tmp" >> $TMP/$FILENAME.cmd.list
     222            else
     223                echo "cp /mnt/settings/channel /tmp/settings/channel.tmp" > $TMP/$FILENAME.cmd.list
     224            fi
    221225            echo "cp /mnt/settings/bouquets.tithek.autoupdate."$NAME"."$NEXT".tv /mnt/settings/bouquets.tithek.autoupdate."$NAME"."$NEXT".tv.org" >> $TMP/$FILENAME.cmd.list
    222226        else
Note: See TracChangeset for help on using the changeset viewer.