From 7d15f71b0b6d0ad5def1ad3ddeb5211646c5ae28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 25 Jul 2021 20:12:49 -0300 Subject: [PATCH] screen: create /run/screens also at install time After 56db43e, the directory is created at boot time. This means if one installs screen it won't work until after the first reboot. This commit fixes that by creating the directory also at install time. Note that we still need to create the directory at boot time, since /run is cleared (tmpfs). --- srcpkgs/screen/INSTALL | 5 +++++ srcpkgs/screen/template | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/screen/INSTALL diff --git a/srcpkgs/screen/INSTALL b/srcpkgs/screen/INSTALL new file mode 100644 index 000000000000..c6324b87b729 --- /dev/null +++ b/srcpkgs/screen/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + . /etc/runit/core-services/20-screen.sh + ;; +esac diff --git a/srcpkgs/screen/template b/srcpkgs/screen/template index 2c25c9c77729..2b99cdc2771c 100644 --- a/srcpkgs/screen/template +++ b/srcpkgs/screen/template @@ -1,7 +1,7 @@ # Template file for 'screen' pkgname=screen version=4.8.0 -revision=4 +revision=5 build_style=gnu-configure configure_args="--with-sys-screenrc=/etc/screenrc --enable-pam --enable-colors256 --enable-rxvt_osc --enable-telnet