ngircd.postinst 477 B

12345678910111213141516171819202122232425262728293031
  1. #! /bin/sh
  2. # ngircd Start/stop the Next Generation IRC Server
  3. # Version: ngircd 0.9.2 16-Nov-2005
  4. # Autor: Mario Iseli <admin@marioiseli.com>
  5. set -e
  6. case "$1" in
  7. configure)
  8. mkdir /var/run/ngircd
  9. chown irc:irc /var/run/ngircd
  10. chmod 770 /var/run/ngircd
  11. chown -R irc:irc /etc/ngircd
  12. chmod 770 /etc/ngircd
  13. ;;
  14. abort-upgrade|abort-remove|abort-deconfigure)
  15. ;;
  16. *)
  17. echo "ERROR: Postinst called with unknown argument!"
  18. exit 0
  19. ;;
  20. esac
  21. #DEBHELPER#
  22. exit 0