debian/postinst
changeset 5 7c7fc8906920
parent 0 586472add385
child 26 767f79e69de1
equal deleted inserted replaced
4:00ad78d34d4c 5:7c7fc8906920
    35 	echo "Changing ownership in /var/lib/nobody"
    35 	echo "Changing ownership in /var/lib/nobody"
    36 	usermod -s /bin/bash -d /var/lib/nobody nobody
    36 	usermod -s /bin/bash -d /var/lib/nobody nobody
    37 	chown -R nobody:nogroup /var/lib/nobody
    37 	chown -R nobody:nogroup /var/lib/nobody
    38 	echo "Setting permissions for /var/lib/nobody/.mcbotrc to 600"
    38 	echo "Setting permissions for /var/lib/nobody/.mcbotrc to 600"
    39 	chmod 600 /var/lib/nobody/.mcbotrc
    39 	chmod 600 /var/lib/nobody/.mcbotrc
    40 	echo "ENTER /etc/init.d/mcbot start after editing .mcbotrc"
    40 	echo "ENTER /etc/init.d/mcbot restart after editing .mcbotrc"
       
    41 	/etc/init.d/mcbot restart
    41     ;;
    42     ;;
    42 
    43 
    43     abort-upgrade|abort-remove|abort-deconfigure)
    44     abort-upgrade|abort-remove|abort-deconfigure)
    44     ;;
    45     ;;
    45 
    46