Index: ipk/source.sh4/tools_callmonitor/CONTROL/postinst
===================================================================
--- ipk/source.sh4/tools_callmonitor/CONTROL/postinst	(revision 45000)
+++ ipk/source.sh4/tools_callmonitor/CONTROL/postinst	(revision 45029)
@@ -1,3 +1,9 @@
 #!/bin/sh
+
+if [ -e /etc/.oebuild ];then
+	opkg update
+	opkg install titan-plugin-callmonitor1 --dest $1
+fi
+
 INSTDIR="$1"  
 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1"
Index: ipk/source.sh4/tools_callmonitor/CONTROL/postrm
===================================================================
--- ipk/source.sh4/tools_callmonitor/CONTROL/postrm	(revision 45000)
+++ ipk/source.sh4/tools_callmonitor/CONTROL/postrm	(revision 45029)
@@ -1,7 +1,12 @@
 #!/bin/sh
-INSTDIR="$1"  
-PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1"
 
-rm -rf "$PLUGINDIR" >/dev/null 2>&1
+if [ -e /etc/.oebuild ];then
+	opkg remove titan-plugin-callmonitor1 --dest $1
+else
+	INSTDIR="$1"  
+	PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1"
+
+	rm -rf "$PLUGINDIR" >/dev/null 2>&1
+fi
 
 exit 0
