summaryrefslogtreecommitdiffstats
path: root/abs/core/ivtv-utils/ivtv-utils.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/ivtv-utils/ivtv-utils.install')
-rw-r--r--abs/core/ivtv-utils/ivtv-utils.install31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core/ivtv-utils/ivtv-utils.install b/abs/core/ivtv-utils/ivtv-utils.install
new file mode 100644
index 0000000..4966d4a
--- /dev/null
+++ b/abs/core/ivtv-utils/ivtv-utils.install
@@ -0,0 +1,31 @@
+pre_install() {
+ /bin/true
+}
+
+post_install() {
+ # updating module dependencies
+ echo ">>> Updating module dependencies. Please wait ..."
+ KERNEL_VERSION=2.6.22-ARCH
+ depmod -v $KERNEL_VERSION > /dev/null 2>&1
+ /bin/true
+}
+
+post_upgrade() {
+ # updating module dependencies
+ echo ">>> Updating module dependencies. Please wait ..."
+ KERNEL_VERSION=2.6.22-ARCH
+ depmod -v $KERNEL_VERSION > /dev/null 2>&1
+ /bin/true
+}
+
+post_remove() {
+ # updating module dependencies
+ echo ">>> Updating module dependencies. Please wait ..."
+ KERNEL_VERSION=2.6.22-ARCH
+ depmod -v $KERNEL_VERSION > /dev/null 2>&1
+ /bin/true
+}
+
+op=$1
+shift
+$op $*