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