blob: f92375586b8e223ef1f76e5576e4ae67c59df47d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# arg 1: the new package version
post_install() {
/sbin/depmod -a
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
/sbin/depmod -a
}
post_remove() {
/sbin/depmod -a
}
op=$1
shift
[ "$(type -t "$op")" = "function" ] && $op "$@"
# vim:set ts=2 sw=2 et:
|