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