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