#!/bin/sh -e
. /usr/share/debconf/confmodule

db_input medium gwhois/inetd || true
if [ -f "/etc/gwhois/pattern.apnic-erx" ] || [ -f "/etc/gwhois/pattern.lacnic-erx" ] || [ -f "/etc/gwhois/pattern.ripe-erx" ]; then
  db_input medium gwhois/oldfiles || true
fi

db_go

