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