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