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