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