source: ipk/source.sh4/editors_moviecutlistcollection_1_0/CONTROL/postrm @ 7451

Last change on this file since 7451 was 7451, checked in by BPanther, 13 years ago

[ipk] - copy source->source.sh4

  • Property svn:executable set to *
File size: 589 bytes
Line 
1#!/bin/sh
2TMP=/tmp/.editors
3
4rm -r /usr/lib/enigma2/python/Plugins/Extensions/CutListEditor > /dev/null 2>&1
5rm -r /usr/lib/enigma2/python/Plugins/Extensions/MovieCut > /dev/null 2>&1
6rm -r /usr/lib/enigma2/python/Plugins/Extensions/ReconstructApSc > /dev/null 2>&1
7
8echo "successfully removed"
9echo "syncing disk"
10sync
11if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
12        SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
13        FREE=`expr $SPACE - 100`
14        echo new freespace size $FREE kb
15fi
16exit 0
Note: See TracBrowser for help on using the repository browser.