commit:     1e3ddaff1aa465884fd094197290b8fb62407637
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 09:07:02 2017 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 09:28:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e3ddaff

app-admin/clsync: remove bashisms

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 app-admin/clsync/files/clsync.initd | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-admin/clsync/files/clsync.initd 
b/app-admin/clsync/files/clsync.initd
index 011163bbc0..bf9e55e5b0 100644
--- a/app-admin/clsync/files/clsync.initd
+++ b/app-admin/clsync/files/clsync.initd
@@ -1,11 +1,11 @@
 #!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-[[ -n "${CLSYNC_CONF}" ]] && conffile="--config-file ${CLSYNC_CONF}"
-[[ -n "${CLSYNC_NICE}" ]] && cmd_nice="--nice ${CLSYNC_NICE}"
-[[ -n "${CLSYNC_IONICE}" ]] && cmd_ionice="--ionice ${CLSYNC_IONICE}"
+[ -n "${CLSYNC_CONF}" ] && conffile="--config-file ${CLSYNC_CONF}"
+[ -n "${CLSYNC_NICE}" ] && cmd_nice="--nice ${CLSYNC_NICE}"
+[ -n "${CLSYNC_IONICE}" ] && cmd_ionice="--ionice ${CLSYNC_IONICE}"
 
 command="/usr/bin/clsync"
 pidfile="/var/run/${SVCNAME}.pid"

Reply via email to