diff options
author | olgeni <olgeni@FreeBSD.org> | 2002-12-06 04:43:14 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2002-12-06 04:43:14 +0800 |
commit | 879483de68c92cdfab9d17ff5dfcbed81ffeaada (patch) | |
tree | ffb6e263d355d2484008cc06202ce81c967cf540 | |
parent | 27b62f37caf1bb9c7dd2efa20042cb58e02503dc (diff) | |
download | freebsd-ports-gnome-879483de68c92cdfab9d17ff5dfcbed81ffeaada.tar.gz freebsd-ports-gnome-879483de68c92cdfab9d17ff5dfcbed81ffeaada.tar.zst freebsd-ports-gnome-879483de68c92cdfab9d17ff5dfcbed81ffeaada.zip |
Fix shell syntax error.
Approved by: portmgr (kris)
-rw-r--r-- | dns/maradns/Makefile | 1 | ||||
-rw-r--r-- | dns/maradns/files/maradns.sh.sample | 5 | ||||
-rw-r--r-- | net/maradns/Makefile | 1 | ||||
-rw-r--r-- | net/maradns/files/maradns.sh.sample | 5 | ||||
-rw-r--r-- | net/xtradius/files/radiusd.sh.tmpl | 3 |
5 files changed, 12 insertions, 3 deletions
diff --git a/dns/maradns/Makefile b/dns/maradns/Makefile index 2ec580d6c2e8..a56ea501f599 100644 --- a/dns/maradns/Makefile +++ b/dns/maradns/Makefile @@ -7,6 +7,7 @@ PORTNAME= maradns PORTVERSION= 1.0.09 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.maradns.org/download/ \ http://maradns.glou.net/download/ \ diff --git a/dns/maradns/files/maradns.sh.sample b/dns/maradns/files/maradns.sh.sample index f7ef9a47d951..5c640294479c 100644 --- a/dns/maradns/files/maradns.sh.sample +++ b/dns/maradns/files/maradns.sh.sample @@ -7,7 +7,10 @@ fi case "$1" in start) - [ -x ${PREFIX}/sbin/maradns ] && ${PREFIX}/sbin/maradns > /var/log/maradns.log & && echo -n ' maradns' + if [ -x ${PREFIX}/sbin/maradns ]; then + ${PREFIX}/sbin/maradns > /var/log/maradns.log & + echo -n ' maradns' + fi; ;; stop) killall maradns && echo -n ' maradns' diff --git a/net/maradns/Makefile b/net/maradns/Makefile index 2ec580d6c2e8..a56ea501f599 100644 --- a/net/maradns/Makefile +++ b/net/maradns/Makefile @@ -7,6 +7,7 @@ PORTNAME= maradns PORTVERSION= 1.0.09 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.maradns.org/download/ \ http://maradns.glou.net/download/ \ diff --git a/net/maradns/files/maradns.sh.sample b/net/maradns/files/maradns.sh.sample index f7ef9a47d951..5c640294479c 100644 --- a/net/maradns/files/maradns.sh.sample +++ b/net/maradns/files/maradns.sh.sample @@ -7,7 +7,10 @@ fi case "$1" in start) - [ -x ${PREFIX}/sbin/maradns ] && ${PREFIX}/sbin/maradns > /var/log/maradns.log & && echo -n ' maradns' + if [ -x ${PREFIX}/sbin/maradns ]; then + ${PREFIX}/sbin/maradns > /var/log/maradns.log & + echo -n ' maradns' + fi; ;; stop) killall maradns && echo -n ' maradns' diff --git a/net/xtradius/files/radiusd.sh.tmpl b/net/xtradius/files/radiusd.sh.tmpl index 44691085271c..1ced24d6a675 100644 --- a/net/xtradius/files/radiusd.sh.tmpl +++ b/net/xtradius/files/radiusd.sh.tmpl @@ -7,7 +7,8 @@ case "$1" in start) if [ -x ${PREFIX}/radiusd ] then - ${PREFIX}/radiusd -y & && echo -n " radiusd" + ${PREFIX}/radiusd -y & + echo -n " radiusd" fi ;; |