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