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).
This commit is contained in:
Gonzalo Tornaría 2021-07-25 20:12:49 -03:00 committed by Érico Nogueira Rolim
parent 988fc14db3
commit fc12db723f
2 changed files with 6 additions and 1 deletions

5
srcpkgs/screen/INSTALL Normal file
View file

@ -0,0 +1,5 @@
case "${ACTION}" in
post)
install -dm 1777 run/screens
;;
esac

View file

@ -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