
http://bugzilla.opensuse.org/show_bug.cgi?id=1138214 http://bugzilla.opensuse.org/show_bug.cgi?id=1138214#c1 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |suse-beta@cboltz.de Flags| |needinfo?(suse-beta@cboltz. | |de) --- Comment #1 from Christian Wittmer <chris@computersalat.de> --- is the following fix ok or do you have a better idea ? Index: mailgraph.spec =================================================================== --- mailgraph.spec (revision 67f8d40003ffe3d4b5f5886bfc5e3a6c) +++ mailgraph.spec (working copy) @@ -113,6 +113,10 @@ %endif %pre +if [[ -f %{_sysconfdir}/sysconfig/%{name} ]] && + [[ -z $(awk -F'"' '/MAILGRAPH_PID/ {print $2}' %{_sysconfdir}/sysconfig/%{name}) ]]; then + mv %{_sysconfdir}/sysconfig/%{name} %{_sysconfdir}/sysconfig/%{name}.rpmsic +fi %if 0%{?has_systemd} %service_add_pre %{name}.service %endif -- You are receiving this mail because: You are on the CC list for the bug.