summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-13 07:52:44 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-13 07:52:44 +0000
commit67a84bd246d749c2323b9b4db3dc62fe10a2958d (patch)
treea2b51072b53f3496805cbf9870c42eb0f97c1290 /net-nds
parentCleanup init.d script and throw out a lot of old stuff. (diff)
downloadgentoo-2-67a84bd246d749c2323b9b4db3dc62fe10a2958d.tar.gz
gentoo-2-67a84bd246d749c2323b9b4db3dc62fe10a2958d.tar.bz2
gentoo-2-67a84bd246d749c2323b9b4db3dc62fe10a2958d.zip
remove bashism to make zzam happy
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/portmap/files/portmap.rc66
1 files changed, 3 insertions, 3 deletions
diff --git a/net-nds/portmap/files/portmap.rc6 b/net-nds/portmap/files/portmap.rc6
index 80abe5c72d80..65d23d748494 100644
--- a/net-nds/portmap/files/portmap.rc6
+++ b/net-nds/portmap/files/portmap.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/files/portmap.rc6,v 1.11 2006/09/09 08:28:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/files/portmap.rc6,v 1.12 2007/06/13 07:52:44 vapier Exp $
depend() {
use net
@@ -38,7 +38,7 @@ restart() {
svc_start
# Reload the portmapper's table
- if [[ -n ${pmap} ]] ; then
+ if [ -n "${pmap}" ] ; then
ebegin "Reloading portmap table"
echo "${pmap}" | pmap_set
eend $?