Accepting request 103461 from home:computersalat:branches:network
fix changelog OBS-URL: https://build.opensuse.org/request/show/103461 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=22
This commit is contained in:
parent
fb30f4ad97
commit
06e611d27c
@ -2,6 +2,7 @@
|
|||||||
Wed Feb 8 22:39:34 UTC 2012 - chris@computersalat.de
|
Wed Feb 8 22:39:34 UTC 2012 - chris@computersalat.de
|
||||||
|
|
||||||
- fix replacing old sysconfig file
|
- fix replacing old sysconfig file
|
||||||
|
- revert boinc users shell to /sbin/nologin
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 6 15:05:05 UTC 2012 - chris@computersalat.de
|
Mon Feb 6 15:05:05 UTC 2012 - chris@computersalat.de
|
||||||
|
@ -322,7 +322,7 @@ popd
|
|||||||
%{_sbindir}/groupadd -r boinc 2>/dev/null || :
|
%{_sbindir}/groupadd -r boinc 2>/dev/null || :
|
||||||
# add user
|
# add user
|
||||||
%{_sbindir}/useradd -c "BOINC Client" -d "%{_localstatedir}/lib/boinc" \
|
%{_sbindir}/useradd -c "BOINC Client" -d "%{_localstatedir}/lib/boinc" \
|
||||||
-g boinc -r -s /bin/bash boinc 2>/dev/null || :
|
-g boinc -r -s /sbin/nologin boinc 2>/dev/null || :
|
||||||
if [ -f %{_sysconfdir}/sysconfig/%{name} ]; then
|
if [ -f %{_sysconfdir}/sysconfig/%{name} ]; then
|
||||||
if [ "$(grep "BOINC_BOINC_USR" /etc/sysconfig/boinc-client | grep -v grep >/dev/null; echo $?)" == 1 ]; then
|
if [ "$(grep "BOINC_BOINC_USR" /etc/sysconfig/boinc-client | grep -v grep >/dev/null; echo $?)" == 1 ]; then
|
||||||
mv -f %{_sysconfdir}/sysconfig/%{name} %{_sysconfdir}/sysconfig/%{name}.save
|
mv -f %{_sysconfdir}/sysconfig/%{name} %{_sysconfdir}/sysconfig/%{name}.save
|
||||||
|
Loading…
x
Reference in New Issue
Block a user