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