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