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