commit: e5132760791ce0307362727befc7755e98aafbfd Author: Sven Wegener <swegener <AT> gentoo <DOT> org> AuthorDate: Wed Nov 21 18:55:34 2018 +0000 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> CommitDate: Wed Nov 21 19:04:40 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5132760
app-misc/screen: Use tmpfiles.eclass, bug #670982 Bug: https://bugs.gentoo.org/670982 Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-misc/screen/screen-9999.ebuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app-misc/screen/screen-9999.ebuild b/app-misc/screen/screen-9999.ebuild index 552f2f82961..163a4ea7515 100644 --- a/app-misc/screen/screen-9999.ebuild +++ b/app-misc/screen/screen-9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit autotools eutils flag-o-matic pam toolchain-funcs user +inherit autotools eutils flag-o-matic pam tmpfiles toolchain-funcs user DESCRIPTION="screen manager with VT100/ANSI terminal emulation" HOMEPAGE="https://www.gnu.org/software/screen/" @@ -114,9 +114,7 @@ src_install() { tmpfiles_group="utmp" fi - dodir /etc/tmpfiles.d - echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \ - >"${ED}"/etc/tmpfiles.d/screen.conf + newtmpfiles - screen.conf <<<"d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" insinto /usr/share/screen doins terminfo/{screencap,screeninfo.src}