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