updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / dnw / dnw.install
bloba5936c4f8316c64b801859582bf40417b0b16e99
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     modprobe -r secbulk
9 # arg 1:  the new package version
10 post_install() {
11         depmod -a > /dev/null 2>&1
14 # arg 1:  the new package version
15 # arg 2:  the old package version
16 pre_upgrade() {
17   /bin/true
20 # arg 1:  the new package version
21 # arg 2:  the old package version
22 post_upgrade() {
23     modprobe -r secbulk
24         depmod -a > /dev/null 2>&1
27 # arg 1:  the old package version
28 pre_remove() {
29     modprobe -r secbulk
30   /bin/true
33 # arg 1:  the old package version
34 post_remove() {
35         depmod -a > /dev/null 2>&1
38 op=$1
39 shift
40 $op $*