#!/bin/sh

set -e

if [ "configure" = "$1" ]; then
    if command -v update-inetd > /dev/null; then
        update-inetd --group STANDARD --add \
            "#<off># gopher\tstream\ttcp\tnowait\tnobody\t/usr/sbin/gophernicus\tgophernicus"
    fi
fi

#DEBHELPER#

exit 0
