summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2014-02-14 21:04:01 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2014-02-14 21:04:01 +0000
commite276d46b27d61ba690a4a46e3143dcd56719e732 (patch)
tree313cda498ee6e0d983cb52eb881af6f162e73fad /app-misc/conmux
parentRemove registry file if present (diff)
downloadgentoo-2-e276d46b27d61ba690a4a46e3143dcd56719e732.tar.gz
gentoo-2-e276d46b27d61ba690a4a46e3143dcd56719e732.tar.bz2
gentoo-2-e276d46b27d61ba690a4a46e3143dcd56719e732.zip
Remove bashisms
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Diffstat (limited to 'app-misc/conmux')
-rw-r--r--app-misc/conmux/ChangeLog6
-rwxr-xr-xapp-misc/conmux/files/conmux-registry.initd4
-rwxr-xr-xapp-misc/conmux/files/conmux.initd6
3 files changed, 10 insertions, 6 deletions
diff --git a/app-misc/conmux/ChangeLog b/app-misc/conmux/ChangeLog
index fdff06cf6fdd..e5f4d660fd0a 100644
--- a/app-misc/conmux/ChangeLog
+++ b/app-misc/conmux/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/conmux
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/conmux/ChangeLog,v 1.6 2014/02/14 21:02:46 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/conmux/ChangeLog,v 1.7 2014/02/14 21:04:01 hwoarang Exp $
+
+ 14 Feb 2014; Markos Chandras <hwoarang@gentoo.org>
+ files/conmux-registry.initd, files/conmux.initd:
+ Remove bashisms
14 Feb 2014; Markos Chandras <hwoarang@gentoo.org>
files/conmux-registry.initd:
diff --git a/app-misc/conmux/files/conmux-registry.initd b/app-misc/conmux/files/conmux-registry.initd
index f2978c31e571..5af904210bbe 100755
--- a/app-misc/conmux/files/conmux-registry.initd
+++ b/app-misc/conmux/files/conmux-registry.initd
@@ -4,10 +4,10 @@
checkconfig() {
# Set sane defaults
- if [[ -z ${CONMUX_REGISTRY_PORT} ]]; then
+ if [ -z ${CONMUX_REGISTRY_PORT} ]; then
CONMUX_REGISTRY_PORT="63000"
fi
- if [[ -z ${CONMUX_REGISTRY_LOG} ]]; then
+ if [ -z ${CONMUX_REGISTRY_LOG} ]; then
CONMUX_REGISTRY_LOG="/var/log/conmux-registry.log"
fi
}
diff --git a/app-misc/conmux/files/conmux.initd b/app-misc/conmux/files/conmux.initd
index d76858f9e52a..d78db20bb9b7 100755
--- a/app-misc/conmux/files/conmux.initd
+++ b/app-misc/conmux/files/conmux.initd
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
@@ -8,7 +8,7 @@ depend() {
}
checkconfig() {
- if [[ ! -f ${CONMUX_CONFIG} ]]; then
+ if [ ! -f ${CONMUX_CONFIG} ]; then
eerror ""
eerror "No conmux configuration file was found!"
eerror "Please read the conmux README file."
@@ -16,7 +16,7 @@ checkconfig() {
return 1
fi
# Sane default
- if [[ -z ${CONMUX_LOG} ]]; then
+ if [ -z ${CONMUX_LOG} ]; then
CONMUX_LOG="/var/log/conmux.log"
fi
return 0