Index: ipk/source.sh4/network_dlna/CONTROL/postinst
===================================================================
--- ipk/source.sh4/network_dlna/CONTROL/postinst	(revision 45683)
+++ ipk/source.sh4/network_dlna/CONTROL/postinst	(revision 45684)
@@ -6,5 +6,5 @@
 echo PLUGINDIR $PLUGINDIR
 
-if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
+if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
 	opkg update
 	opkg install minidlna --dest $1
@@ -16,5 +16,5 @@
 echo "Set ServerName ($Name) to minidlna.conf"
 
-if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
+if [ ! -e "$INSTDIR/etc/minidlna.conf" ]; then
 	echo "use tpk config file: minidlna.conf"
 	echo "rename $INSTDIR/etc/minidlna.conf.minidlna > $INSTDIR/etc/minidlna.conf"
