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