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