From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-934369-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id CEA47139694
	for <garchives@archives.gentoo.org>; Fri, 24 Feb 2017 21:50:53 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9B767E0D7F;
	Fri, 24 Feb 2017 21:50:29 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 76448E0D7F
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Feb 2017 21:50:29 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 415CC340EF6
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Feb 2017 21:50:28 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 836155362
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Feb 2017 21:50:26 +0000 (UTC)
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org>
Message-ID: <1487972925.03343413458dc7358b12c899ea1203289be3e5c5.williamh@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/opentmpfiles/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/opentmpfiles/opentmpfiles-9999.ebuild
X-VCS-Directories: sys-apps/opentmpfiles/
X-VCS-Committer: williamh
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: 03343413458dc7358b12c899ea1203289be3e5c5
X-VCS-Branch: master
Date: Fri, 24 Feb 2017 21:50:26 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 97357887-a28f-42b7-9a0e-167d6cebc918
X-Archives-Hash: cb76d7fcc74f7f0ccf5a09c98ec4eb94

commit:     03343413458dc7358b12c899ea1203289be3e5c5
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 21:40:22 2017 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 21:48:45 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03343413

sys-apps/opentmpfiles: sync live ebuild

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-apps/opentmpfiles/opentmpfiles-9999.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild b/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild
index 011fa7ac95..7b29123b27 100644
--- a/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild
+++ b/sys-apps/opentmpfiles/opentmpfiles-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -40,6 +40,8 @@ add_service() {
 }
 
 pkg_postinst() {
-	add_service opentmpfiles-dev sysinit
-	add_service opentmpfiles-setup boot
+	if [[ -z $REPLACING_VERSIONS ]]; then
+		add_service opentmpfiles-dev sysinit
+		add_service opentmpfiles-setup boot
+	fi
 }