#!/bin/sh # postinst script for wifieye # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) cp /usr/share/pyshared/drlaunch/drlaunch_widget.py \ /usr/lib/hildon-desktop SRC="/tmp/drlaunch.desktop" if test -e "$SRC" ; then mv "$SRC" /usr/share/applications/hildon-home fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # Automatically added by dh_pysupport if which update-python-modules >/dev/null 2>&1; then update-python-modules drlaunch.public fi # End automatically added section exit 0