Index: ipk/source.sh4/tools_lcdpearl1/CONTROL/postinst
===================================================================
--- ipk/source.sh4/tools_lcdpearl1/CONTROL/postinst	(revision 45683)
+++ ipk/source.sh4/tools_lcdpearl1/CONTROL/postinst	(revision 45684)
@@ -3,5 +3,5 @@
 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdpearl1" 
 
-if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
+if [ `cat /proc/version | grep stm24 | wc -l` -eq 1 ]; then 
 	cd /tmp/stm24 
 else 
@@ -14,5 +14,5 @@
 rm -rf stm23
 
-if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
+if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
 	opkg update
 	opkg install titan-plugin-lcdpearl1 --dest $1
