diff options
author | sem <sem@FreeBSD.org> | 2006-08-28 00:04:02 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2006-08-28 00:04:02 +0800 |
commit | 7b8bb597b8b169bafec2a0089540339640d9fac9 (patch) | |
tree | 3d6933050db0a811e7f41857578bd9d13f6702e0 /net | |
parent | 7ac1ab8ce622578e0479e35efc5851c23af93edf (diff) | |
download | freebsd-ports-gnome-7b8bb597b8b169bafec2a0089540339640d9fac9.tar.gz freebsd-ports-gnome-7b8bb597b8b169bafec2a0089540339640d9fac9.tar.zst freebsd-ports-gnome-7b8bb597b8b169bafec2a0089540339640d9fac9.zip |
- Fix a bug in pkg-install script
Submitted by: maintainer
Diffstat (limited to 'net')
-rw-r--r-- | net/isc-dhcp3-server/pkg-install | 4 | ||||
-rw-r--r-- | net/isc-dhcp30-server/pkg-install | 4 | ||||
-rw-r--r-- | net/isc-dhcp31-server/pkg-install | 4 | ||||
-rw-r--r-- | net/isc-dhcp40-server/pkg-install | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/net/isc-dhcp3-server/pkg-install b/net/isc-dhcp3-server/pkg-install index e620536d1cbd..547e94efc046 100644 --- a/net/isc-dhcp3-server/pkg-install +++ b/net/isc-dhcp3-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 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 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 diff --git a/net/isc-dhcp40-server/pkg-install b/net/isc-dhcp40-server/pkg-install index e620536d1cbd..547e94efc046 100644 --- a/net/isc-dhcp40-server/pkg-install +++ b/net/isc-dhcp40-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 |