post_install() { if [ ! -d /var/spool/moblock/used ] then mkdir -p /var/spool/moblock/used fi if [ ! -e /etc/cron.daily/moblock-control-update.sh ] then ln -s /usr/bin/moblock-control-update.sh /etc/cron.daily/moblock-control-update.sh fi } post_upgrade() { if [ ! -d /var/spool/moblock/used ] then mkdir -p /var/spool/moblock/used fi if [ ! -e /etc/cron.daily/moblock-control-update.sh ] then ln -s /usr/bin/moblock-control-update.sh /etc/cron.daily/moblock-control-update.sh fi } op=$1 shift $op $*