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-dhcp30-server | |
parent | b11da7551279f455ccb46b4c6f2476dbb845181f (diff) | |
download | ports-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-install | 4 |
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 |