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