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

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/network_facebook/CONTROL/postrm

    r17400 r23622  
    11#!/bin/sh
    2 TMP=/tmp/.tmp
     2INSTDIR="$1"
    33
    4 PLUGINDIR=/var/usr/local/share/titan/plugins/facebook
    5 rm -r /var/usr/local/share/titan/plugins/facebook
     4rm -rf "$INSTDIR/usr/local/share/titan/plugins/facebook"
    65
    7 echo "successfully removed"
    8 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
    9         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
    10         FREE=`expr $SPACE - 100`
    11         echo new freespace size $FREE kb
    12 else
    13         echo "syncing disk"
    14         sync
    15 fi
    166exit 0
Note: See TracChangeset for help on using the changeset viewer.