Ignore:
Timestamp:
May 19, 2012, 7:43:24 PM (14 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r12781 r15803  
    11#!/bin/sh
    2 TMP=/tmp/.infos
    3 
     2TMP=/tmp/.tmp
    43echo "successfully installed"
    5 if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
    6         SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
     4link=`readlink /var/swap`
     5if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then
     6        SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
    77        FREE=`expr $SPACE - 100`
    88        echo new freespace size $FREE kb
     
    1111        sync
    1212fi
     13echo "install netsurf Browser...."
    1314exit 0
Note: See TracChangeset for help on using the changeset viewer.