pre_install() { /bin/true } post_install() { chown -R ejabberd.jabber /var/spool/ejabberd } pre_upgrade() { /bin/true } post_upgrade() { chown -R ejabberd.jabber /var/spool/ejabberd } pre_remove() { /bin/true } post_remove() { /bin/true } op=$1 shift $op $*