source: ipk/source.sh4/lcdpearlskins_mrp/CONTROL/postrm@ 20749

Last change on this file since 20749 was 18277, checked in by mr_pink, 14 years ago

[titan] fix pearl lcd skins & add my own one

File size: 523 bytes
Line 
1#!/bin/sh
2TMP=/tmp/.TOOLS
3
4mv /var/swap/titanplugins/lcdpearl1/originalskin.xml /var/swap/titanplugins/lcdpearl1/skin.xml
5echo "Originalskin wird wieder hergestellt....."
6
7
8echo "Erfolgreich deinstalliert"
9if [ `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
13else
14 sync
15fi
16exit 0
Note: See TracBrowser for help on using the repository browser.