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