summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2017-02-12 13:52:02 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2017-02-12 13:52:02 +0300
commit749f354cce10c22a1febced1a26612a22bdae6c4 (patch)
tree840412d926bc093cdbedac60a039602fdd281c98
parentapp-misc/task is fixed in the tree (diff)
downloadbircoph-749f354cce10c22a1febced1a26612a22bdae6c4.tar.gz
bircoph-749f354cce10c22a1febced1a26612a22bdae6c4.tar.bz2
bircoph-749f354cce10c22a1febced1a26612a22bdae6c4.zip
app-admin/clsync: remove bashism from init script
[[ ]] construct in the client init script is replaced by [ ] to be POSIX compliant. Since the client init script is shipped within tarball, the tarball is updated. Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
-rw-r--r--app-admin/clsync/files/clsync.initd8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-admin/clsync/files/clsync.initd b/app-admin/clsync/files/clsync.initd
index 1d035e4..bf9e55e 100644
--- a/app-admin/clsync/files/clsync.initd
+++ b/app-admin/clsync/files/clsync.initd
@@ -1,11 +1,11 @@
#!/sbin/openrc-run
-# Copyright 1999-2016 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"