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