# ================================================
APPNAME=`basename "$0"`
-MYVERSION=2.2.2+toward_2.2.3_20130128022414
+MYVERSION=2.2.2+toward_2.2.3_20130128033128
PREFIX=${PREFIX:-/usr/local}
CONFFILE=${PREFIX}/etc/${APPNAME}.conf
if [ "x$WITH_PKGNG" = xyes ]
then
- which -s pkg || { echo "ERROR: WITH_PKGNG is set, but pkgng is not available" >&2; exit 1; }
+ [ -x /usr/local/sbin/pkg ] || { echo "ERROR: WITH_PKGNG is set, but pkgng is not available" >&2; exit 1; }
command_pkg_info='pkg info'
command_pkg_create='pkg create'
command_pkg_delete='pkg delete'