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 / gksu.postinst < prev    next >
Encoding:
Text File  |  2007-03-05  |  559 b   |  21 lines

  1. #!/bin/sh
  2. set -e
  3.  
  4. # Automatically added by dh_installmenu
  5. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  6.     update-menus
  7. fi
  8. # End automatically added section
  9. # Automatically added by dh_desktop
  10. if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then
  11.     update-desktop-database -q
  12. fi
  13. # End automatically added section
  14.  
  15.  
  16. if [ "$1" = "configure" ] && [ -n $2 ]; then
  17.     if dpkg --compare-versions "$2" lt 1.3.2-2; then
  18.     test -f /etc/gksu.conf && /bin/sh /usr/share/gksu/gksu-migrate-conf.sh || true
  19.     fi
  20. fi
  21.