[Erp5-report] r35437 lucas - /erp5/trunk/utils/rpmgen/templates/
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 19 01:29:19 CEST 2010
Author: lucas
Date: Wed May 19 01:29:16 2010
New Revision: 35437
URL: http://svn.erp5.org?rev=35437&view=rev
Log:
Fixed user and group creation for fedora.
Modified:
erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-fedora12.spec.in
Modified: erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-fedora12.spec.in
URL: http://svn.erp5.org/erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-fedora12.spec.in?rev=35437&r1=35436&r2=35437&view=diff
==============================================================================
--- erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-fedora12.spec.in [utf8] (original)
+++ erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-fedora12.spec.in [utf8] Wed May 19 01:29:16 2010
@@ -31,8 +31,8 @@
%{summary}
%pre
-getent group GROUPNAME >/dev/null || groupadd -r %{erp5group}
-getent passwd USERNAME >/dev/null || useradd -r -d %{installdir} -s /sbin/nologin -c "User for tiolive-application package." %{erp5user}
+getent group %{erp5group} >/dev/null || groupadd -r %{erp5group}
+getent passwd %{erp5user} >/dev/null || useradd -r -d %{installdir} -s /sbin/nologin -c "User for tiolive-application package." %{erp5user} -g %{erp5group}
%build
mkdir -p %{installdir}
More information about the Erp5-report
mailing list