Ignore:
Timestamp:
Mar 24, 2013, 11:29:20 PM (13 years ago)
Author:
obi
Message:

fix ipk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/titansettings_unitymedia_cable_1_0/CONTROL/postinst

    r18437 r20673  
    11#!/bin/sh
    2 
    3 #del old bouquet entrys
    4 oldbouquets=`cat /tmp/bouquets.cfg`
    5 oldifs=$IFS
    6 IFS='
    7 '
    8 for line in $oldbouquets; do
    9         file=`echo "$line" | cut -d "#" -f3`
    10         grep "#$file" /var/etc/titan/bouquets.cfg > /dev/null
    11         if [ $? -ne 0 ]; then
    12                 rm "$file"
    13         fi
    14 done
    15 IFS=$oldifs
    16 rm /tmp/bouquets.cfg
    17 
    182TMP=/tmp/.set
    193echo "successfully installed"
Note: See TracChangeset for help on using the changeset viewer.