#!/bin/sh
INSTDIR="$1"

if [ "/var/swap" == "$INSTDIR" ]; then
	echo "syncing disk"
	sync
else
	SPACE=`getfreespace "$INSTDIR"`
	FREE=`expr $SPACE - 100`
	echo new freespace size $FREE kb
fi
echo "removing catcatch Plugin"
exit 0
