app-admin/clsync: remove bashisms
authorAndrew Savchenko <bircoph@gentoo.org>
Sun, 12 Feb 2017 09:07:02 +0000 (12:07 +0300)
committerAndrew Savchenko <bircoph@gentoo.org>
Sun, 12 Feb 2017 09:28:22 +0000 (12:28 +0300)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
app-admin/clsync/files/clsync.initd

index 011163bbc08d546a0ce692761452eb0a18e2dc47..bf9e55e5b0af5c4c7d321a7f850b50cf4b221a63 100644 (file)
@@ -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"