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