1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- small fix to fix to pkg-install script

- bump PORTREVISION

PR:		ports/102013
Submitted by:	pirzyk (maintianer)
This commit is contained in:
Ion-Mihai Tetcu 2006-08-15 16:32:34 +00:00
parent 92f1214057
commit df6d51ba28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170732
2 changed files with 4 additions and 4 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= nph
PORTVERSION= 1.2.3
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.feep.net/pub/software/nph/

View File

@ -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...";