summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-01-01 11:22:27 +0100
committerMichał Górny <mgorny@gentoo.org>2018-01-01 11:34:45 +0100
commit3bee07f5b98403895848e08765949fb4d34a08e8 (patch)
treef296cc123f3e7b4d7f3d8e93916f0c661add50c1
parenttoolchain-funcs.eclass: Use host vars in tc-getBUILD* when not cross (diff)
downloadgentoo-3bee07f5b98403895848e08765949fb4d34a08e8.tar.gz
gentoo-3bee07f5b98403895848e08765949fb4d34a08e8.tar.bz2
gentoo-3bee07f5b98403895848e08765949fb4d34a08e8.zip
app-portage/eix: Switch to tmpfiles.eclass (from systemd.eclass)
-rw-r--r--app-portage/eix/eix-0.33.0-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-portage/eix/eix-0.33.0-r1.ebuild b/app-portage/eix/eix-0.33.0-r1.ebuild
index bd9217a151fd..f651221ce027 100644
--- a/app-portage/eix/eix-0.33.0-r1.ebuild
+++ b/app-portage/eix/eix-0.33.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PLOCALES="de ru"
-inherit autotools bash-completion-r1 l10n systemd flag-o-matic
+inherit autotools bash-completion-r1 flag-o-matic l10n tmpfiles
DESCRIPTION="Search and query ebuilds"
HOMEPAGE="https://github.com/vaeth/eix/"
@@ -83,7 +83,7 @@ src_configure() {
src_install() {
default
dobashcomp bash/eix
- systemd_dotmpfilesd tmpfiles.d/eix.conf
+ dotmpfiles tmpfiles.d/eix.conf
rm -r "${ED%/}"/usr/bin/eix-functions.sh || die
@@ -94,7 +94,7 @@ pkg_postinst() {
if ! use prefix; then
# note: if this is done in src_install(), portage:portage
# ownership may be reset to root
- chown portage:portage "${EROOT%/}"/var/cache/eix || die
+ tmpfiles_process eix.conf
fi
local obs=${EROOT%/}/var/cache/eix.previous