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