Ignore:
Timestamp:
Sep 10, 2013, 3:52:26 PM (13 years ago)
Author:
nit
Message:
 
File:
1 edited

Legend:

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

    r15689 r23623  
    11#!/bin/sh
    2 TMP=/tmp/.tmp
    3 echo "successfully installed"
    4 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
    5         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
    6         FREE=`expr $SPACE - 100`
    7         echo new freespace size $FREE kb
    8 else
    9         echo "syncing disk"
    10         sync
     2INSTDIR="$1"
     3
     4if [ "/var" != "$INSTDIR" ]; then
     5        ln -sfn "$INSTDIR/usr/local/share/titan/plugins/tmc" /var/usr/local/share/titan/plugins/tmc
    116fi
    127
    13 echo "Please use GUI restart !!!!"
    14 
    158exit 0
Note: See TracChangeset for help on using the changeset viewer.