File: postinst

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

if [ "$1" = configure ]; then
    if command -v update-inetd >/dev/null; 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#