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