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