daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Jan 6th, 2012 25 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. # postinst script for wiican
  3. #
  4. # see: dh_installdeb(1)
  5.  
  6. set -e
  7.  
  8. # summary of how this script can be called:
  9. #        * <postinst> `configure' <most-recently-configured-version>
  10. #        * <old-postinst> `abort-upgrade' <new version>
  11. #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
  12. #          <new-version>
  13. #        * <postinst> `abort-remove'
  14. #        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
  15. #          <failed-install-package> <version> `removing'
  16. #          <conflicting-package> <version>
  17. # for details, see http://www.debian.org/doc/debian-policy/ or
  18. # the debian-policy package
  19.  
  20.  
  21. case "$1" in
  22.     configure)
  23.     invoke-rc.d udev reload
  24.     ;;
  25.  
  26.     abort-upgrade|abort-remove|abort-deconfigure)
  27.     ;;
  28.  
  29.     *)
  30.         echo "postinst called with unknown argument \`$1'" >&2
  31.         exit 1
  32.     ;;
  33. esac
  34.  
  35. # dh_installdeb will replace this with shell code automatically
  36. # generated by other debhelper scripts.
  37.  
  38. # Automatically added by dh_installmime
  39. if [ "$1" = "configure" ] && [ -x "`which update-mime-database 2>/dev/null`" ]; then
  40.         update-mime-database /usr/share/mime
  41. fi
  42. # End automatically added section
  43. # Automatically added by dh_pysupport
  44. if which update-python-modules >/dev/null 2>&1; then
  45.         update-python-modules  wiican.public
  46. fi
  47. # End automatically added section
  48.  
  49.  
  50. exit 0
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top