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