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