summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorKoen Kooi <k-kooi@ti.com>2010-05-20 15:55:07 +0200
committerKoen Kooi <koen@openembedded.org>2010-06-12 11:03:54 +0200
commit62ba5c84d8c6c697394aca2ec43a6435e9a7791f (patch)
tree5daa6cecf651266a5ae85f52c3a06af472ac1858 /recipes
parent6e13f8caedd0f09708b744ff63b60364b03b64a9 (diff)
gstreamer-ti: prettify postinst and postrm
Diffstat (limited to 'recipes')
-rw-r--r--recipes/ti/ti-dsplink.inc19
1 files changed, 11 insertions, 8 deletions
diff --git a/recipes/ti/ti-dsplink.inc b/recipes/ti/ti-dsplink.inc
index aec2742f87..119211e906 100644
--- a/recipes/ti/ti-dsplink.inc
+++ b/recipes/ti/ti-dsplink.inc
@@ -172,16 +172,19 @@ PACKAGES += "ti-dsplink-module"
FILES_ti-dsplink-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/dsplinkk.ko"
RDEPENDS_ti-dsplink-module += "update-modules"
-pkg_postinst_ti-dsplink-module_append () {
- if [ -n "$D" ]; then
- exit 1
- fi
- depmod -a
- update-modules || true
+pkg_postinst_ti-dsplink-module () {
+#!/bin/sh
+if [ -n "$D" ]; then
+ exit 1
+fi
+
+depmod -a
+update-modules || true
}
-pkg_postrm_ti-dsplink-module_append () {
- update-modules || true
+pkg_postrm_ti-dsplink-module () {
+#!/bin/sh
+update-modules || true
}
PACKAGES += "ti-dsplink-examples"