debian/rplay-server.postinst
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | pkg=rplayd |
| 6 | |
| 7 | if [ "$1" = "configure" ]; then |
| 8 | if [ -e /etc/init.d/rplayd ]; then |
| 9 | rm /etc/init.d/rplayd |
| 10 | fi |
| 11 | |
| 12 | if [ ! -e /etc/rplay/rplay.hosts ]; then |
| 13 | echo "RPlayd is currently configured to only allow connections from localhost." |
| 14 | echo " man rplay.hosts(5) for details of how to modify this." |
| 15 | fi |
| 16 | fi |
| 17 | |
| 18 | #DEBHELPER# |
| 19 |