home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / xinit.postinst < prev    next >
Encoding:
Text File  |  2006-08-07  |  960 b   |  43 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. # summary of how this script can be called:
  6. #        * <postinst> `configure' <most-recently-configured-version>
  7. #        * <old-postinst> `abort-upgrade' <new version>
  8. #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
  9. #          <new-version>
  10. #        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
  11. #          <failed-install-package> <version> `removing'
  12. #          <conflicting-package> <version>
  13.  
  14. case "$1" in
  15.     configure)
  16.         if ! [ -x /etc/X11/Xsession ]; then
  17.         chmod +x /etc/X11/Xsession
  18.     
  19.         fi
  20.         if ! [ -x /etc/X11/xinit/xserverrc ]; then
  21.         chmod +x /etc/X11/xinit/xserverrc
  22.     
  23.         fi
  24.  
  25.         ;;
  26.  
  27.     abort-upgrade|abort-remove|abort-deconfigure)
  28.  
  29.     ;;
  30.  
  31.     *)
  32.         echo "postinst called with unknown argument \`$1'" >&2
  33.         exit 1
  34.     ;;
  35. esac
  36.  
  37. # dh_installdeb will replace this with shell code automatically
  38. # generated by other debhelper scripts.
  39.  
  40.  
  41.  
  42. exit 0
  43.