source: ipk/source/bootlogos_bikergirl_0_1/CONTROL/prerm@ 23364

Last change on this file since 23364 was 23364, checked in by nit, 13 years ago

fix

  • Property svn:executable set to *
File size: 350 bytes
Line 
1#!/bin/sh
2INSTDIR="$1"
3
4echo "rename original.jpg -> bootlogo.jpg"
5mv /var/etc/boot/original.jpg /var/etc/boot/bootlogo.jpg
6
7echo "successfully removed"
8if [ "/var/swap" == "$INSTDIR" ]; then
9 echo "syncing disk"
10 sync
11else
12 SPACE=`getfreespace "$INSTDIR"`
13 FREE=`expr $SPACE - 100`
14 echo new freespace size $FREE kb
15fi
16echo "remove bootlogo"
17exit 0
Note: See TracBrowser for help on using the repository browser.