diff options
author | 2017-02-12 13:52:02 +0300 | |
---|---|---|
committer | 2017-02-12 13:52:02 +0300 | |
commit | 749f354cce10c22a1febced1a26612a22bdae6c4 (patch) | |
tree | 840412d926bc093cdbedac60a039602fdd281c98 | |
parent | app-misc/task is fixed in the tree (diff) | |
download | bircoph-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.initd | 8 |
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" |