aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp30-server
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-08-27 16:04:02 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-08-27 16:04:02 +0000
commit40c2774e352f4765797e88cb1456b794395b9a84 (patch)
tree2d03b62d840ab7c09d6658a40a7fdffb2175263a /net/isc-dhcp30-server
parentb11da7551279f455ccb46b4c6f2476dbb845181f (diff)
downloadports-40c2774e352f4765797e88cb1456b794395b9a84.tar.gz
ports-40c2774e352f4765797e88cb1456b794395b9a84.zip
- Fix a bug in pkg-install script
Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=171469
Diffstat (limited to 'net/isc-dhcp30-server')
-rw-r--r--net/isc-dhcp30-server/pkg-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/isc-dhcp30-server/pkg-install b/net/isc-dhcp30-server/pkg-install
index e620536d1cbd..547e94efc046 100644
--- a/net/isc-dhcp30-server/pkg-install
+++ b/net/isc-dhcp30-server/pkg-install
@@ -9,14 +9,14 @@
case $2 in
POST-INSTALL)
- if [ ${PKG_PREFIX}/etc/rc.d/isc-dhcpd ]; then
+ if [ -x ${PKG_PREFIX}/etc/rc.d/isc-dhcpd ]; then
${PKG_PREFIX}/etc/rc.d/isc-dhcpd forceinstall
else
${PKG_PREFIX}/etc/rc.d/isc-dhcpd.sh forceinstall
fi
;;
DEINSTALL)
- if [ ${PKG_PREFIX}/etc/rc.d/isc-dhcpd ]; then
+ if [ -x ${PKG_PREFIX}/etc/rc.d/isc-dhcpd ]; then
${PKG_PREFIX}/etc/rc.d/isc-dhcpd forceuninstall
else
${PKG_PREFIX}/etc/rc.d/isc-dhcpd.sh forceuninstall