From 8568853afcf071283a35382bf20898542947bdc1 Mon Sep 17 00:00:00 2001 From: lace <> Date: Mon, 26 Dec 2005 08:01:02 +0000 Subject: [PATCH] Fixed 'captive-fusermount' group to be: fuse --- captive.spec.in | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/captive.spec.in b/captive.spec.in index 55f5641..6b53248 100644 --- a/captive.spec.in +++ b/captive.spec.in @@ -200,6 +200,17 @@ make DESTDIR=$RPM_BUILD_ROOT install-strip %clean rm -rf $RPM_BUILD_ROOT +%pre + +%if ! %{static} +%pre fuse +%endif +%if %{static} +/usr/sbin/groupadd -r fuse 2>/dev/null || \ + /usr/sbin/groupadd fuse 2>/dev/null || \ + true +%endif + %post /sbin/ldconfig /usr/sbin/groupadd -r captive 2>/dev/null || \ @@ -212,11 +223,6 @@ rm -rf $RPM_BUILD_ROOT %if ! %{static} %post fuse %endif -%if %{static} -/usr/sbin/groupadd -r fuse 2>/dev/null || \ - /usr/sbin/groupadd fuse 2>/dev/null || \ - true -%endif /usr/lib/lsb/install_initd @PACKAGE@ 2>/dev/null || \ /sbin/chkconfig --add @PACKAGE@ touch %{_var}/lock/subsys/@PACKAGE@ @@ -274,7 +280,7 @@ rm -rf %{_var}/lib/@PACKAGE@/tmp/* /sbin/mount.@PACKAGE@-* %attr(644,root,root) %{_mandir}/man?/mount.@PACKAGE@.* %if %{static} -%{_libexecdir}/@PACKAGE@-fusermount +%attr(4754,root,fuse) %{_libexecdir}/@PACKAGE@-fusermount %endif %if ! %{static} -- 1.8.3.1