summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2015-05-26 14:31:03 +0000
committerChristoph Junghans <ottxor@gentoo.org>2015-05-26 14:31:03 +0000
commite03b2f0f95a52514ed5923b12a7253ea9631f24f (patch)
tree85af67cdcff8e3b26d974902f53b7dbde0956dd5 /net-misc/openntpd
parentadded missing bug reference (diff)
downloadgentoo-2-e03b2f0f95a52514ed5923b12a7253ea9631f24f.tar.gz
gentoo-2-e03b2f0f95a52514ed5923b12a7253ea9631f24f.tar.bz2
gentoo-2-e03b2f0f95a52514ed5923b12a7253ea9631f24f.zip
silence rmdir (bug #544016)
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Diffstat (limited to 'net-misc/openntpd')
-rw-r--r--net-misc/openntpd/ChangeLog6
-rw-r--r--net-misc/openntpd/openntpd-4.0_pre20080406.ebuild4
2 files changed, 7 insertions, 3 deletions
diff --git a/net-misc/openntpd/ChangeLog b/net-misc/openntpd/ChangeLog
index b14af0de2d59..aa593a702953 100644
--- a/net-misc/openntpd/ChangeLog
+++ b/net-misc/openntpd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/openntpd
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/ChangeLog,v 1.132 2015/04/04 06:55:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/ChangeLog,v 1.133 2015/05/26 14:31:03 ottxor Exp $
+
+ 26 May 2015; Christoph Junghans <ottxor@gentoo.org>
+ openntpd-4.0_pre20080406.ebuild:
+ silence rmdir (bug #544016)
04 Apr 2015; Mike Frysinger <vapier@gentoo.org>
openntpd-4.0_pre20080406.ebuild:
diff --git a/net-misc/openntpd/openntpd-4.0_pre20080406.ebuild b/net-misc/openntpd/openntpd-4.0_pre20080406.ebuild
index 9a5d15fa7389..49794eba541e 100644
--- a/net-misc/openntpd/openntpd-4.0_pre20080406.ebuild
+++ b/net-misc/openntpd/openntpd-4.0_pre20080406.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/openntpd-4.0_pre20080406.ebuild,v 1.3 2015/04/04 06:55:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/openntpd-4.0_pre20080406.ebuild,v 1.4 2015/05/26 14:31:03 ottxor Exp $
EAPI=5
@@ -96,7 +96,7 @@ pkg_postinst() {
# bug #226491, remove <=openntpd-20080406-r7 trash
rm -f "${EROOT%/}${NTP_HOME}"etc/localtime
- rmdir "${EROOT%/}${NTP_HOME}"etc
+ [-d "${EROOT%/}${NTP_HOME}"etc ] && rmdir "${EROOT%/}${NTP_HOME}"etc
}
pkg_postrm() {