diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2006-08-27 16:04:02 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2006-08-27 16:04:02 +0000 |
commit | 40c2774e352f4765797e88cb1456b794395b9a84 (patch) | |
tree | 2d03b62d840ab7c09d6658a40a7fdffb2175263a /net/isc-dhcp31-server | |
parent | b11da7551279f455ccb46b4c6f2476dbb845181f (diff) | |
download | ports-40c2774e352f4765797e88cb1456b794395b9a84.tar.gz ports-40c2774e352f4765797e88cb1456b794395b9a84.zip |
Notes
Diffstat (limited to 'net/isc-dhcp31-server')
-rw-r--r-- | net/isc-dhcp31-server/pkg-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/isc-dhcp31-server/pkg-install b/net/isc-dhcp31-server/pkg-install index e620536d1cbd..547e94efc046 100644 --- a/net/isc-dhcp31-server/pkg-install +++ b/net/isc-dhcp31-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 |