openbsd-ports/net/bind9/pkg/DEINSTALL
camield 8d02b19fc4 Exit 0 when not running bind9-disable, otherwise pkg_remove
will think the script failed and emit a warning.

ok jakob@
2002-02-11 14:19:27 +00:00

10 lines
171 B
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2002/02/11 14:19:27 camield Exp $
PREFIX=${PKG_PREFIX:-/usr/local}
[ -e /usr/sbin/lwresd ] || exit 0
$PREFIX/sbin/bind9-disable