From 62f21a3cc66fd933e29942d2fee3589353159bba89f27d58f13035f954116ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 6 Apr 2016 12:10:40 +0000 Subject: [PATCH] - The logfile for update-alternatives is /var/log/alternatives.log so stop using update-alternatives.log file which is empty OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=30 --- update-alternatives.changes | 6 ++++++ update-alternatives.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/update-alternatives.changes b/update-alternatives.changes index 4eb7667..741c69a 100644 --- a/update-alternatives.changes +++ b/update-alternatives.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 6 12:05:23 UTC 2016 - tchvatal@suse.com + +- The logfile for update-alternatives is /var/log/alternatives.log + so stop using update-alternatives.log file which is empty + ------------------------------------------------------------------- Fri Mar 25 09:47:24 UTC 2016 - tchvatal@suse.com diff --git a/update-alternatives.spec b/update-alternatives.spec index e8b118c..4809c68 100644 --- a/update-alternatives.spec +++ b/update-alternatives.spec @@ -67,7 +67,7 @@ install -m 0755 utils/%{name} %{buildroot}/%{_sbindir} install -m 0644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/ %post -touch %{_localstatedir}/log/%{name}.log +touch %{_localstatedir}/log/alternatives.log %files %defattr(-,root,root,-) @@ -76,6 +76,6 @@ touch %{_localstatedir}/log/%{name}.log %dir %{_localstatedir}/lib/rpm/alternatives %{_sbindir}/update-alternatives %{_mandir}/man1/update-alternatives.1* -%ghost %{_localstatedir}/log/update-alternatives.log +%ghost %{_localstatedir}/log/alternatives.log %changelog