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