Accepting request 92390 from home:jnweiger:branches:Base:System

- mkdir /var/run/*screen both immediatly and via systemd.

OBS-URL: https://build.opensuse.org/request/show/92390
OBS-URL: https://build.opensuse.org/package/show/Base:System/screen?expand=0&rev=24
This commit is contained in:
Stephan Kulow 2011-11-20 06:48:53 +00:00 committed by Git OBS Bridge
parent e59f511065
commit f1d171dc69
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 18 13:09:57 UTC 2011 - jw@suse.com
- mkdir /var/run/*screen both immediatly and via systemd.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 19 14:00:10 UTC 2011 - trenn@suse.de Mon Sep 19 14:00:10 UTC 2011 - trenn@suse.de

View File

@ -31,7 +31,7 @@ Group: System/Console
PreReq: %install_info_prereq PreReq: %install_info_prereq
AutoReqProv: on AutoReqProv: on
Version: 4.0.3 Version: 4.0.3
Release: 17 Release: 19
Summary: A program to allow multiple screens on a VT100/ANSI Terminal Summary: A program to allow multiple screens on a VT100/ANSI Terminal
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source1: screen.conf Source1: screen.conf
@ -99,7 +99,7 @@ install -m 644 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
%dir /usr/lib/tmpfiles.d %dir /usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/screen.conf /usr/lib/tmpfiles.d/screen.conf
/usr/share/screen/utf8encodings /usr/share/screen/utf8encodings
# Created via aaa_base on system boot # Created via aaa_base or systemd on system boot
%ghost %dir /var/run/screens %ghost %dir /var/run/screens
%ghost %dir /var/run/uscreens %ghost %dir /var/run/uscreens
%doc %{_infodir}/screen.info*.gz %doc %{_infodir}/screen.info*.gz
@ -108,6 +108,11 @@ install -m 644 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
%post %post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
# Create our dirs immediatly, after a manual package install.
# After a reboot systemd/aaa_base will take care.
test -d /var/run/screens || mkdir -m 755 /var/run/screens
test -d /var/run/uscreens || mkdir -m 1777 /var/run/uscreens
%postun %postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz