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