Index: ipk/source.sh4/titanswapbrowser_netsurf/CONTROL/postinst
===================================================================
--- ipk/source.sh4/titanswapbrowser_netsurf/CONTROL/postinst	(revision 15801)
+++ ipk/source.sh4/titanswapbrowser_netsurf/CONTROL/postinst	(revision 15803)
@@ -1,8 +1,8 @@
 #!/bin/sh
-TMP=/tmp/.infos
-
+TMP=/tmp/.tmp
 echo "successfully installed"
-if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -n1 | wc -l` -eq 1 ]; then
-	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | head -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
@@ -11,3 +11,4 @@
 	sync
 fi
+echo "install netsurf Browser...."
 exit 0
