ngircd.postinst 328 B

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