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