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