- #!/bin/sh
- # postinst script for wiican
- #
- # see: dh_installdeb(1)
- set -e
- # summary of how this script can be called:
- # * <postinst> `configure' <most-recently-configured-version>
- # * <old-postinst> `abort-upgrade' <new version>
- # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
- # <new-version>
- # * <postinst> `abort-remove'
- # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
- # <failed-install-package> <version> `removing'
- # <conflicting-package> <version>
- # for details, see http://www.debian.org/doc/debian-policy/ or
- # the debian-policy package
- case "$1" in
- configure)
- invoke-rc.d udev reload
- ;;
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
- esac
- # dh_installdeb will replace this with shell code automatically
- # generated by other debhelper scripts.
- # Automatically added by dh_installmime
- if [ "$1" = "configure" ] && [ -x "`which update-mime-database 2>/dev/null`" ]; then
- update-mime-database /usr/share/mime
- fi
- # End automatically added section
- # Automatically added by dh_pysupport
- if which update-python-modules >/dev/null 2>&1; then
- update-python-modules wiican.public
- fi
- # End automatically added section
- exit 0
SHARE
TWEET
Untitled
a guest
Jan 6th, 2012
25
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

