forked from pool/systemd-presets-branding-openSUSE
Accepting request 321270 from home:sbrabec:branches:systemd-preset
Submit to Factory depends on request 320740. - Add %systemd_preset_pre and %systemd_preset_posttrans (fixes boo#921075 and all future requests to change service default). OBS-URL: https://build.opensuse.org/request/show/321270 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-presets-branding-openSUSE?expand=0&rev=65
This commit is contained in:
parent
e5f5048c26
commit
77c08cd028
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 4 18:09:29 CEST 2015 - sbrabec@suse.com
|
||||
|
||||
- Add %systemd_preset_pre and %systemd_preset_posttrans (fixes
|
||||
boo#921075 and all future requests to change service default).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 15 14:29:34 UTC 2015 - jkeil@suse.de
|
||||
|
||||
|
@ -47,6 +47,9 @@ mkdir -p %{buildroot}/usr/lib/systemd/system-preset
|
||||
install -m644 %{SOURCE0} %{buildroot}/usr/lib/systemd/system-preset/90-default-openSUSE.preset
|
||||
install -m644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system-preset/
|
||||
|
||||
%pre -p /bin/bash
|
||||
%systemd_preset_pre
|
||||
|
||||
%post
|
||||
systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
|
||||
@ -55,6 +58,9 @@ if [ $1 -eq 0 ]; then
|
||||
systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%posttrans -p /bin/bash
|
||||
%systemd_preset_posttrans
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/usr/lib/systemd/system-preset/*
|
||||
|
Loading…
Reference in New Issue
Block a user