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