This file is indexed.

postinst is in rplay-server 3.3.2-14.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

set -e

pkg=rplayd

if [ "$1" = "configure" ]; then
  if [ -e /etc/init.d/rplayd ]; then
      rm /etc/init.d/rplayd
  fi

  if [ ! -e /etc/rplay/rplay.hosts ]; then
      echo "RPlayd is currently configured to only allow connections from localhost."
      echo "  man rplay.hosts(5) for details of how to modify this."
  fi
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/rplay" ]; then
	if [ ! -e "/etc/init/rplay.conf" ]; then
		update-rc.d rplay defaults 99 10 >/dev/null
	fi
	invoke-rc.d rplay start || exit $?
fi
# End automatically added section