summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2018-11-21 18:55:34 +0000
committerSven Wegener <swegener@gentoo.org>2018-11-21 19:04:40 +0000
commite5132760791ce0307362727befc7755e98aafbfd (patch)
tree90407ca5a83a1976f3d4b9b29392b9094e8cf016 /app-misc
parentapp-misc/screen: Update live ebuild (diff)
downloadgentoo-e5132760791ce0307362727befc7755e98aafbfd.tar.gz
gentoo-e5132760791ce0307362727befc7755e98aafbfd.tar.bz2
gentoo-e5132760791ce0307362727befc7755e98aafbfd.zip
app-misc/screen: Use tmpfiles.eclass, bug #670982
Bug: https://bugs.gentoo.org/670982 Signed-off-by: Sven Wegener <swegener@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/screen/screen-9999.ebuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/app-misc/screen/screen-9999.ebuild b/app-misc/screen/screen-9999.ebuild
index 552f2f82961c..163a4ea7515e 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}