diff options
-rw-r--r-- | net-misc/htpdate/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/htpdate/files/htpdate.init | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/net-misc/htpdate/ChangeLog b/net-misc/htpdate/ChangeLog index e4d2cfb46f91..715c97ac1d67 100644 --- a/net-misc/htpdate/ChangeLog +++ b/net-misc/htpdate/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/htpdate -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/ChangeLog,v 1.41 2009/06/19 22:08:34 ranger Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/ChangeLog,v 1.42 2011/10/09 16:19:16 vapier Exp $ + + 09 Oct 2011; Mike Frysinger <vapier@gentoo.org> files/htpdate.init: + Fix simple bashism in init.d script #386483 by Faustus. 19 Jun 2009; Brent Baude <ranger@gentoo.org> htpdate-1.0.4.ebuild: keyworded ~arch for ppc64, bug 272590 diff --git a/net-misc/htpdate/files/htpdate.init b/net-misc/htpdate/files/htpdate.init index 8d40d93ed38f..090f0586f5ce 100644 --- a/net-misc/htpdate/files/htpdate.init +++ b/net-misc/htpdate/files/htpdate.init @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/files/htpdate.init,v 1.3 2006/08/24 02:23:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/files/htpdate.init,v 1.4 2011/10/09 16:19:16 vapier Exp $ depend() { need net @@ -9,7 +9,7 @@ depend() { } checkconfig() { - if [[ -z ${SERVERS} ]] ; then + if [ -z "${SERVERS}" ] ; then eerror "You need to set at least one http server to use in /etc/conf.d/htpdate" return 1 fi |