forked from pool/systemd-presets-branding-openSUSE
Accepting request 138507 from openSUSE:Factory:Staging:Systemd
- Change location of presets with latest systemd. OBS-URL: https://build.opensuse.org/request/show/138507 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-presets-branding-openSUSE?expand=0&rev=24
This commit is contained in:
parent
793283db75
commit
48af547432
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 17 13:07:59 UTC 2012 - fcrozat@suse.com
|
||||
|
||||
- Change location of presets with latest systemd.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 11 12:40:36 UTC 2012 - aj@suse.de
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: systemd-presets-branding-openSUSE
|
||||
Version: 0.1.0
|
||||
Version: 0.2.0
|
||||
Release: 0
|
||||
Summary: systemd default presets for openSUSE
|
||||
License: GPL-2.0+
|
||||
@ -42,19 +42,19 @@ Default presets for systemd on openSUSE distribution.
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/lib/systemd/system.preset
|
||||
install -m644 %{SOURCE0} %{buildroot}/lib/systemd/system.preset
|
||||
mkdir -p %{buildroot}/usr/lib/systemd/system-preset
|
||||
install -m644 %{SOURCE0} %{buildroot}/usr/lib/systemd/system-preset
|
||||
|
||||
%post
|
||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/lib/systemd/system.preset/*
|
||||
/usr/lib/systemd/system-preset/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user