Klaus Kämpf 2015-02-07 15:47:29 +00:00 committed by Git OBS Bridge
parent 29c4404bbb
commit 68dfe24033

View File

@ -288,10 +288,9 @@ mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}/html
%pre ws
%if 0%{?suse_version}
%service_add_pre %{name}.service
%else
%endif
getent group cockpit-ws >/dev/null || groupadd -r cockpit-ws
getent passwd cockpit-ws >/dev/null || useradd -r -g cockpit-ws -d / -s /sbin/nologin -c "User for cockpit-ws" cockpit-ws
%endif
%post ws
%if 0%{?suse_version}