From df6d51ba28ed787c499b68e61021b52dd1708e26 Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Tue, 15 Aug 2006 16:32:34 +0000 Subject: [PATCH] - small fix to fix to pkg-install script - bump PORTREVISION PR: ports/102013 Submitted by: pirzyk (maintianer) --- net/nph/Makefile | 1 + net/nph/pkg-install | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/nph/Makefile b/net/nph/Makefile index 1e91a1ca2808..5fb79910913e 100644 --- a/net/nph/Makefile +++ b/net/nph/Makefile @@ -7,6 +7,7 @@ PORTNAME= nph PORTVERSION= 1.2.3 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.feep.net/pub/software/nph/ diff --git a/net/nph/pkg-install b/net/nph/pkg-install index df19b74cb06b..38e097083e6d 100644 --- a/net/nph/pkg-install +++ b/net/nph/pkg-install @@ -36,11 +36,10 @@ case $2 in fi fi - if [ -n "${PH_SERVER}" ]; then - echo "${PH_SERVER}" > ${PKG_PREFIX}/etc/ph_server.sample; - elif [ ! -f "${PKG_PREFIX}/etc/ph_server" ]; then - echo "WARNING: cannot determine PH server name - you must create ${PKG_PREFIX}/etc/ph_server manually"; + if [ -z "${PH_SERVER}" ]; then + PH_SERVER="ns.some-domain.example.org"; fi + echo "${PH_SERVER}" > ${PKG_PREFIX}/etc/ph_server.sample; if [ ! -f "${PKG_PREFIX}/etc/ph_server" ]; then echo "creating default ${PKG_PREFIX}/etc/ph_server file...";