sys-apps/opentmpfiles: sync live ebuild
authorWilliam Hubbs <williamh@gentoo.org>
Fri, 24 Feb 2017 21:40:22 +0000 (15:40 -0600)
committerWilliam Hubbs <williamh@gentoo.org>
Fri, 24 Feb 2017 21:48:45 +0000 (15:48 -0600)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

sys-apps/opentmpfiles/opentmpfiles-9999.ebuild

index 011fa7ac95c8afcf2616764af7427ec4a50e177f..7b29123b2793f93dd4635d1da012ab7050e2014d 100644 (file)
@@ -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
 }