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