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