diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2017-02-12 16:00:14 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2017-02-12 16:55:02 +0300 |
commit | 52fdf07995b87f9bfb481918043c6599484cd09a (patch) | |
tree | 03d9f9a380e5a5596d947b62fbf6af8afff19dfb /net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 | |
parent | sys-kernel/vanilla-sources: Automated version bump to 3.10.105 - remove old. (diff) | |
download | gentoo-52fdf07995b87f9bfb481918043c6599484cd09a.tar.gz gentoo-52fdf07995b87f9bfb481918043c6599484cd09a.tar.bz2 gentoo-52fdf07995b87f9bfb481918043c6599484cd09a.zip |
net-mail/courier-imap: fix bug 340175
Make init scripts POSIX compliant. Patch by Alec Moskvin <alecm at
gmx.com>, bug 340175.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6')
-rw-r--r-- | net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 index 9a4ecf60499d..dc6033c92356 100644 --- a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 +++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 @@ -1,5 +1,5 @@ #!/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$ @@ -8,14 +8,14 @@ depend() { use famd } -source /etc/courier-imap/pop3d +. /etc/courier-imap/pop3d checkconfig() { - if [[ ! -e /etc/courier-imap/pop3d ]] ; then + if [ ! -e /etc/courier-imap/pop3d ] ; then eerror "You need an /etc/courier-imap/pop3d file to run courier-pop3d" return 1 fi - source /etc/courier-imap/pop3d || { + . /etc/courier-imap/pop3d || { eerror "There are syntax errors in /etc/courier-imap/pop3d" eerror "Please correct them before trying to start courier-pop3d" return 2 |