Filewatcher File Search
FTP Search
  
Directory 
  
Content Search 
   
pkg://atheme-services_3.0.4-1_hurd-i386.deb:592872/postinst  info  downloads

#! /bin/sh

# atheme-services
# Version:	atheme-services 2.2.0  06-08-07
# Author:	Bradley Smith <brad@brad-smith.co.uk>

set -e

case "$1" in

    configure)
	    chown irc:irc /var/lib/atheme/
	    chown irc:irc /var/log/atheme/
	    chown irc:irc /var/run/atheme/
	    chown root:irc /etc/atheme/
	    chmod 770 /etc/atheme/
	;;
    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "ERROR: Postinst called with unknown argument!"
        exit 0
    ;;

esac

# Automatically added by dh_installinit
if [ -x "/etc/init.d/atheme-services" ]; then
	update-rc.d atheme-services defaults >/dev/null
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d atheme-services start || exit $?
	else
		/etc/init.d/atheme-services start || exit $?
	fi
fi
# End automatically added section


exit 0
Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2009 MARUHN Internet Solutions