From b0452c4cfda7e5df47ea862def5c05be32f85439 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..08c7bf69bc28 --- /dev/null +++ b/srcpkgs/screen/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + install -dm 1777 run/screens + ;; +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