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