Ignore:
Timestamp:
Sep 16, 2012, 2:19:59 PM (14 years ago)
Author:
andy-1
Message:

fix install default Settings

File:
1 edited

Legend:

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

    r17828 r17917  
    11#!/bin/sh
     2
     3#del old bouquet entrys
     4oldbouquets=`cat /tmp/bouquets.cfg`
     5oldifs=$IFS
     6IFS='
     7'
     8for 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
     14done
     15IFS=$oldifs
     16rm /tmp/bouquets.cfg
     17
    218TMP=/tmp/.set
    319echo "successfully installed"
Note: See TracChangeset for help on using the changeset viewer.