[vuplus-dvb-proxy] fix postinst error.
[vuplus_openvuplus_3.0] / meta-bsp / recipes-vuplus / vuplus-dvb-proxy / vuplus-dvb-proxy-vusolo2.bb
index ae7a014..4143e87 100644 (file)
@@ -6,7 +6,9 @@ SRCDATE = "20150623"
 SRCDATE_PR = "r0"
 
 pkg_postinst_${PN}_append () {
-  ln -s /lib/modules/${KERNEL_VERSION}/extra/dvb-bcm7356.ko $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko
+       if [ ! -f $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko ]; then
+               ln -s /lib/modules/${KERNEL_VERSION}/extra/dvb-bcm7356.ko $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko
+       fi
 }
 
 SRC_URI[md5sum] = "de62591027238991b0a81232a49ad6a8"