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