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