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