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