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