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