greg@171: #!/bin/sh greg@171: # postinst script for canfestival greg@171: # greg@171: # see: dh_installdeb(1) greg@171: greg@171: set -e greg@171: greg@171: # summary of how this script can be called: greg@171: # * `configure' greg@171: # * `abort-upgrade' greg@171: # * `abort-remove' `in-favour' greg@171: # greg@171: # * `abort-remove' greg@171: # * `abort-deconfigure' `in-favour' greg@171: # `removing' greg@171: # greg@171: # for details, see http://www.debian.org/doc/debian-policy/ or greg@171: # the debian-policy package greg@171: greg@171: greg@171: case "$1" in greg@171: configure) greg@171: ln -sf /usr/share/matiec/iec2c /usr/bin/iec2c greg@171: chmod 755 /usr/share/matiec/iec2c greg@171: ;; greg@171: greg@171: abort-upgrade|abort-remove|abort-deconfigure) greg@171: ;; greg@171: greg@171: *) greg@171: echo "postinst called with unknown argument \`$1'" >&2 greg@171: exit 1 greg@171: ;; greg@171: esac greg@171: greg@171: # dh_installdeb will replace this with shell code automatically greg@171: # generated by other debhelper scripts. greg@171: greg@171: #DEBHELPER# greg@171: greg@171: exit 0 greg@171: greg@171: