Ignore:
Timestamp:
Sep 7, 2013, 10:35:37 PM (13 years ago)
Author:
nit
Message:
 
File:
1 edited

Legend:

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

    r13845 r23424  
    11#!/bin/sh
    2 TMP=/tmp/.TOOLS
     2INSTDIR="$1"
    33
    4 mv /var/swap/titanplugins/lcdpearl1/originalskin.xml /var/swap/titanplugins/lcdpearl1/skin.xml
    5 echo "Originalskin wird wieder hergestellt....."
     4mv "$INSTDIR/usr/local/share/titan/plugins/lcdpearl1/originalskin.xml" "$INSTDIR/usr/local/share/titan/plugins/lcdpearl1/skin.xml"
    65
    7 
    8 echo "Erfolgreich deinstalliert"
    9 if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then
    10         SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
    11         FREE=`expr $SPACE - 100`
    12         echo new freespace size $FREE kb
    13 else
    14         sync
    15 fi
    166exit 0
Note: See TracChangeset for help on using the changeset viewer.