summaryrefslogtreecommitdiff
path: root/packages/dsplink/ti-dmai_1.20.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dsplink/ti-dmai_1.20.bb')
-rw-r--r--packages/dsplink/ti-dmai_1.20.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/dsplink/ti-dmai_1.20.bb b/packages/dsplink/ti-dmai_1.20.bb
index 60a427cba2..0131407861 100644
--- a/packages/dsplink/ti-dmai_1.20.bb
+++ b/packages/dsplink/ti-dmai_1.20.bb
@@ -76,7 +76,10 @@ RRECOMMENDS_${PN} = "ti-dmai-apps"
FILES_ti-dmai-apps = "${datadir}/ti-dmai/*"
pkg_postinst_ti-dmai-apps () {
- ln -sf /usr/share/ti-codec-combos/* $D/usr/share/ti-dmai/apps
+ if [ -n "$D" ]; then
+ exit 1
+ fi
+ ln -sf /usr/share/ti-codec-combos/* /usr/share/ti-dmai/apps
}
INHIBIT_PACKAGE_STRIP = "1"