home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / sgml-base / examples / postrm < prev    next >
Encoding:
Text File  |  2003-09-21  |  754 b   |  26 lines

  1. #!/bin/sh
  2. ## ----------------------------------------------------------------------
  3. ## debian/postrm: postremoval script for foo
  4. ## ----------------------------------------------------------------------
  5.  
  6. ## ----------------------------------------------------------------------
  7. ## Abort if any command returns an error value
  8. set -e
  9.  
  10. ## --------------------------------------------------------------
  11. ## Remove SGML catalog entries
  12. PACKAGE=foo
  13. CENTRALCAT="/etc/sgml/${PACKAGE}.cat"
  14. if [ "$1" = "purge" ]
  15. then
  16.     rm -f ${CENTRALCAT} ${CENTRALCAT}.old
  17. fi
  18.  
  19. ## ----------------------------------------------------------------------
  20. ## Automatically added sections
  21. #DEBHELPER#
  22.  
  23. exit 0
  24.  
  25. ## ----------------------------------------------------------------------
  26.