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