18 kx #!/bin/sh
18 kx
18 kx
18 kx # arg 1: the new package version
18 kx pre_install() {
18 kx /bin/true
18 kx }
18 kx
18 kx # arg 1: the new package version
18 kx post_install() {
18 kx /bin/true
18 kx }
18 kx
18 kx # arg 1: the new package version
18 kx # arg 2: the old package version
198 kx pre_update() {
18 kx /bin/true
18 kx }
18 kx
18 kx # arg 1: the new package version
18 kx # arg 2: the old package version
198 kx post_update() {
50 kx post_install
18 kx }
18 kx
18 kx # arg 1: the old package version
18 kx pre_remove() {
18 kx /bin/true
18 kx }
18 kx
18 kx # arg 1: the old package version
18 kx post_remove() {
18 kx /bin/true
18 kx }
18 kx
18 kx
18 kx operation=$1
18 kx shift
18 kx
18 kx $operation $*