File: postinst

package info (click to toggle)
skksearch 0.0-25
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 228 kB
  • sloc: ansic: 1,079; makefile: 23; sh: 18
file content (11 lines) | stat: -rw-r--r-- 287 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

if [ "$1" = configure ]; then
    if which update-inetd >/dev/null 2>&1; then
	update-inetd --multi --remove skkserv || true
	update-inetd --add 'skkserv\t\tstream\ttcp\tnowait\tnobody\t/usr/sbin/tcpd\t/usr/sbin/skksearch -c /etc/skksearch.conf'
    fi
fi

#DEBHELPER#