- Use official systemd macros in %post install
OBS-URL: https://build.opensuse.org/package/show/Base:System/issue-generator?expand=0&rev=9
This commit is contained in:
parent
a530cfc0bd
commit
a6d21145df
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 28 13:10:37 CET 2017 - kukuk@suse.de
|
||||
|
||||
- Use official systemd macros in %post install
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 28 11:51:23 CET 2017 - kukuk@suse.de
|
||||
|
||||
|
@ -51,9 +51,7 @@ install -m 644 udev/sysconfig.issue-generator %{buildroot}%{_fillupdir}/
|
||||
%service_add_pre issue-generator.service issue-add-ssh-keys.service
|
||||
|
||||
%post
|
||||
if [ -x %{_bindir}/systemd-tmpfiles ]; then
|
||||
%{_bindir}/systemd-tmpfiles --create issue-generator.conf ||:
|
||||
fi
|
||||
%tmpfiles_create issue-generator.conf
|
||||
%{fillup_only -n issue-generator}
|
||||
%service_add_post issue-generator.service issue-add-ssh-keys.service
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user