Index: ipk/source.sh4/network_facebook/CONTROL/postinst
===================================================================
--- ipk/source.sh4/network_facebook/CONTROL/postinst	(revision 23475)
+++ ipk/source.sh4/network_facebook/CONTROL/postinst	(revision 23622)
@@ -1,14 +1,8 @@
 #!/bin/sh
-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`
-	FREE=`expr $SPACE - 100`
-	echo new freespace size $FREE kb
-else
-	echo "syncing disk"
-	sync
+INSTDIR="$1"
+
+if [ "/var" != "$INSTDIR" ]; then
+	ln -sfn "$INSTDIR/usr/local/share/titan/plugins/facebook" /var/usr/local/share/titan/plugins/facebook
 fi
-echo "Please use GUI restart !!!!"
 
 exit 0
