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
 }

Reply via email to