ngircd.postinst 351 B

123456789101112131415161718192021
  1. #!/bin/sh
  2. #
  3. # Debian post-installation script
  4. # $Id: ngircd.postinst,v 1.2 2006/12/26 14:44:40 alex Exp $
  5. #
  6. set -e
  7. case "$1" in
  8. configure)
  9. if [ -f /etc/ngircd/ngircd.conf ]; then
  10. # make sure that the configuration file is not
  11. # world-readable, it contains passwords!
  12. chmod o= /etc/ngircd/ngircd.conf
  13. fi
  14. ;;
  15. esac
  16. #DEBHELPER#
  17. # -eof-