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