Ignore:
Timestamp:
Sep 7, 2013, 2:32:21 PM (13 years ago)
Author:
nit
Message:

fix

Location:
ipk/source.sh4/titangames_catcatch/CONTROL
Files:
4 edited

Legend:

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

    r23368 r23373  
    66fi
    77
    8 if [ "/var/swap" == "$INSTDIR" ]; then
    9         echo "syncing disk"
    10         sync
    11 else
    12         SPACE=`getfreespace "$INSTDIR"`
    13         FREE=`expr $SPACE - 100`
    14         echo new freespace size $FREE kb
    15 fi
    168exit 0
  • ipk/source.sh4/titangames_catcatch/CONTROL/postrm

    r23368 r23373  
    44rm -rf "$INSTDIR/usr/local/share/titan/plugins/dlna"
    55
    6 echo "successfully removed"
    7 if [ "/var/swap" == "$INSTDIR" ]; then
    8         echo "syncing disk"
    9         sync
    10 else
    11         SPACE=`getfreespace "$INSTDIR"`
    12         FREE=`expr $SPACE - 100`
    13         echo new freespace size $FREE kb
    14 fi
    156exit 0
  • ipk/source.sh4/titangames_catcatch/CONTROL/preinst

    r23366 r23373  
    11#!/bin/sh
    2 INSTDIR="$1"
    32
    4 model=`cat /etc/model`
    5 echo""
    6 echo "Checking your Boxtype...."
    7 echo "Some Plugins will not work correctly on your $model!"
    8 echo ""
    9 if [ "$model" = "" ]; then
    10         echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
    11         echo "Aborting installation..."
    12         exit 1
    13 else
    14         echo "Boxtype: $model OK"
    15 fi
    16 
    17 echo "install catcatch Plugin ..."
    18 if [ "/var/swap" == "$INSTDIR" ]; then
    19         echo "syncing disk"
    20         sync
    21 fi
    22 
    23 buildgroup=`cat /etc/.buildgroup`
    24 echo "checking OS"       
    25 if  [ `cat /etc/motd | grep $buildgroup | grep M | grep rev | wc -l` -eq 0 ]; then               
    26         echo ---------------------------                 
    27         echo DONT USE this IPK Package!!                 
    28         echo ---                 
    29         echo Only for $buildgroup Image!!               
    30         echo ---------------------------                 
    31         exit 1           
    32 fi
    33 
     3echo "installing Plugin"
    344exit 0
  • ipk/source.sh4/titangames_catcatch/CONTROL/prerm

    r23366 r23373  
    11#!/bin/sh
    2 INSTDIR="$1"
    32
    4 if [ "/var/swap" == "$INSTDIR" ]; then
    5         echo "syncing disk"
    6         sync
    7 else
    8         SPACE=`getfreespace "$INSTDIR"`
    9         FREE=`expr $SPACE - 100`
    10         echo new freespace size $FREE kb
    11 fi
    12 echo "removing catcatch Plugin"
     3echo "remove Plugin"
    134exit 0
Note: See TracChangeset for help on using the changeset viewer.