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