SHA256
1
0
forked from cockpit/cockpit
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 %pre ws
%if 0%{?suse_version} %if 0%{?suse_version}
%service_add_pre %{name}.service %service_add_pre %{name}.service
%else %endif
getent group cockpit-ws >/dev/null || groupadd -r cockpit-ws 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 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 %post ws
%if 0%{?suse_version} %if 0%{?suse_version}