updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / modglue / modglue.install
blob55b1b3e9c02310dc287e23e95f461e42709d0395
1 # arg 1:  the new package version
2 pre_install() {
3   /bin/true
6 # arg 1:  the new package version
7 post_install() {
8   ldconfig
11 # arg 1:  the new package version
12 # arg 2:  the old package version
13 pre_upgrade() {
14   /bin/true
17 # arg 1:  the new package version
18 # arg 2:  the old package version
19 post_upgrade() {
20   post_install
23 # arg 1:  the old package version
24 pre_remove() {
25   /bin/true
28 # arg 1:  the old package version
29 post_remove() {
30   /bin/true
33 op=$1
34 shift
35 $op $*