updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / lirc-nct677x / lirc-nct677x.install
blob00c0440be345e415f4905d40895ed0c17035b16d
1 # This is a default template for a post-install scriptlet.  You can
2 # remove any functions you don't need (and this header).
4 # arg 1:  the new package version
5 pre_install() {
6   /bin/true
9 # arg 1:  the new package version
10 post_install() {
11   # updating module dependencies
12   echo ">>> Updating module dependencies. Please wait ..."
13   KERNEL_VERSION=2.6.33-ARCH
14   depmod -v $KERNEL_VERSION > /dev/null 2>&1
15   /bin/true
18 # arg 1:  the new package version
19 # arg 2:  the old package version
20 pre_upgrade() {
21   /bin/true
24 # arg 1:  the new package version
25 # arg 2:  the old package version
26 post_upgrade() {
27   # updating module dependencies
28   echo ">>> Updating module dependencies. Please wait ..."
29   KERNEL_VERSION=2.6.33-ARCH
30   depmod -v $KERNEL_VERSION > /dev/null 2>&1
31   /bin/true
34 # arg 1:  the old package version
35 pre_remove() {
36   /bin/true
39 # arg 1:  the old package version
40 post_remove() {
41   # updating module dependencies
42   echo ">>> Updating module dependencies. Please wait ..."
43   KERNEL_VERSION=2.6.33-ARCH
44   depmod -v $KERNEL_VERSION > /dev/null 2>&1
45   /bin/true
48 op=$1
49 shift
50 $op $*