From 68dfe240336e6b54e94e8b12d0e2f4f58e3c55b418f3ed4ee954a6786230ad6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Sat, 7 Feb 2015 15:47:29 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=4 --- cockpit.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cockpit.spec b/cockpit.spec index aa2236c..d3eee2f 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -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}