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