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 / libggi2.postrm < prev    next >
Encoding:
Text File  |  2006-11-10  |  551 b   |  32 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.     purge)
  7.         # until dpkg gets this right ...
  8.         # after removal of conffiles, remove dirs when empty
  9.         rmdir /etc/ggi 2>/dev/null || true
  10.         ;;
  11.  
  12.     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
  13.         # update the menu system
  14.         # if [ -x /usr/bin/update-menus ]; then update-menus; fi
  15.         ;;
  16.  
  17.     *)
  18.             echo "postrm called with unknown argument \`$1'" >&2
  19.             exit 0
  20.         ;;
  21.  
  22. esac
  23.  
  24. # Automatically added by dh_makeshlibs
  25. if [ "$1" = "remove" ]; then
  26.     ldconfig
  27. fi
  28. # End automatically added section
  29.  
  30.  
  31. exit 0
  32.