Ignore:
Timestamp:
Dec 7, 2011, 11:58:44 AM (14 years ago)
Author:
madie
Message:

[ipk] update crossepg

Location:
ipk/source/epg_crossepg
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • ipk/source/epg_crossepg/var/crossepg/crossepg_epgmove.sh

    r7451 r12090  
    99fi
    1010
     11if [ -f "/etc/enigma2/settings" ] # if enigma2 configuration exist
     12then
     13        EPGDAT=`cat /etc/enigma2/settings | grep "config\.misc\.epgcache_filename=" | sed "s/config\.misc\.epgcache_filename=//"`
     14else # else default path
     15        EPGDAT="/hdd/epg.dat"
     16fi
     17
     18if [ ! -n "$EPGDAT" ]
     19then
     20        EPGDAT="/hdd/epg.dat"
     21fi
     22
    1123if [ -f "$DBROOT/ext.epg.dat" ] # try on configuration path
    1224then
    1325        echo copying ext.epg.dat from $DBROOT
    14         $HOME/crossepg_epgcopy "$DBROOT/ext.epg.dat" /hdd/epg.dat
     26        $HOME/crossepg_epgcopy "$DBROOT/ext.epg.dat" $EPGDAT
    1527elif [ -f "/hdd/crossepg/ext.epg.dat" ] # if we have a bad path try with default path
    1628then
Note: See TracChangeset for help on using the changeset viewer.