Index: ipk/source.sh4/titanswapskins_0Acht5Zehnwhite/CONTROL/postinst
===================================================================
--- ipk/source.sh4/titanswapskins_0Acht5Zehnwhite/CONTROL/postinst	(revision 10931)
+++ ipk/source.sh4/titanswapskins_0Acht5Zehnwhite/CONTROL/postinst	(revision 12781)
@@ -2,12 +2,12 @@
 TMP=/tmp/.titanskin
 echo "successfully installed"
-echo "syncing disk"
-sync
-
-if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
-	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
+link=`readlink /var/swap`
+if [ `df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ] && [ $link = "/mnt/swapextensions" ]; then
+	SPACE=`df | grep /dev/mtdblock | grep mnt | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1`
 	FREE=`expr $SPACE - 100`
 	echo new freespace size $FREE kb
+else
+	echo "syncing disk"
+	sync
 fi
-
 exit 0
