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