Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/clsync/files/
Date: Sun, 12 Feb 2017 09:28:33
Message-Id: 1486891702.1e3ddaff1aa465884fd094197290b8fb62407637.bircoph@gentoo
1 commit: 1e3ddaff1aa465884fd094197290b8fb62407637
2 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 12 09:07:02 2017 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 12 09:28:22 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e3ddaff
7
8 app-admin/clsync: remove bashisms
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
12
13 app-admin/clsync/files/clsync.initd | 8 ++++----
14 1 file changed, 4 insertions(+), 4 deletions(-)
15
16 diff --git a/app-admin/clsync/files/clsync.initd b/app-admin/clsync/files/clsync.initd
17 index 011163bbc0..bf9e55e5b0 100644
18 --- a/app-admin/clsync/files/clsync.initd
19 +++ b/app-admin/clsync/files/clsync.initd
20 @@ -1,11 +1,11 @@
21 #!/sbin/openrc-run
22 -# Copyright 1999-2015 Gentoo Foundation
23 +# Copyright 1999-2017 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 # $Id$
26
27 -[[ -n "${CLSYNC_CONF}" ]] && conffile="--config-file ${CLSYNC_CONF}"
28 -[[ -n "${CLSYNC_NICE}" ]] && cmd_nice="--nice ${CLSYNC_NICE}"
29 -[[ -n "${CLSYNC_IONICE}" ]] && cmd_ionice="--ionice ${CLSYNC_IONICE}"
30 +[ -n "${CLSYNC_CONF}" ] && conffile="--config-file ${CLSYNC_CONF}"
31 +[ -n "${CLSYNC_NICE}" ] && cmd_nice="--nice ${CLSYNC_NICE}"
32 +[ -n "${CLSYNC_IONICE}" ] && cmd_ionice="--ionice ${CLSYNC_IONICE}"
33
34 command="/usr/bin/clsync"
35 pidfile="/var/run/${SVCNAME}.pid"