diff --git a/boinc-client.changes b/boinc-client.changes index f621f4e..3c564e4 100644 --- a/boinc-client.changes +++ b/boinc-client.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 09 01:44:00 UTC 2014 - Led + +- fix bashism in pre script + ------------------------------------------------------------------- Tue Jun 17 13:39:32 UTC 2014 - tchvatal@suse.com diff --git a/boinc-client.spec b/boinc-client.spec index 428f480..6eed872 100644 --- a/boinc-client.spec +++ b/boinc-client.spec @@ -359,7 +359,7 @@ install -dm0755 %{buildroot}%{_var}/lib/boinc %{_sbindir}/useradd -c "BOINC Client" -d "%{_localstatedir}/lib/boinc" \ -g boinc -r -s /sbin/nologin boinc 2>/dev/null || : if [ -f %{_sysconfdir}/sysconfig/%{name} ]; then - if [ "$(grep "BOINC_BOINC_USR" %{_sysconfdir}/sysconfig/boinc-client | grep -v grep >/dev/null; echo $?)" == 1 ]; then + if grep "BOINC_BOINC_USR" %{_sysconfdir}/sysconfig/boinc-client | grep -q grep; then mv -f %{_sysconfdir}/sysconfig/%{name} %{_sysconfdir}/sysconfig/%{name}.save fi fi