[freeside-commits] freeside/install/rpm freeside.spec, 1.1.4.32, 1.1.4.33
Richard Siddall
rsiddall at wavetail.420.am
Fri Jun 12 19:52:38 PDT 2009
Update of /home/cvs/cvsroot/freeside/install/rpm
In directory wavetail.420.am:/tmp/cvs-serv9961/install/rpm
Modified Files:
Tag: FREESIDE_1_7_BRANCH
freeside.spec
Log Message:
Fix up permissions of default configuration files and ownership of the data
source configuration folder.
Index: freeside.spec
===================================================================
RCS file: /home/cvs/cvsroot/freeside/install/rpm/Attic/freeside.spec,v
retrieving revision 1.1.4.32
retrieving revision 1.1.4.33
diff -u -d -r1.1.4.32 -r1.1.4.33
--- freeside.spec 12 Jun 2009 23:35:50 -0000 1.1.4.32
+++ freeside.spec 13 Jun 2009 02:52:36 -0000 1.1.4.33
@@ -379,12 +379,14 @@
%triggerin postgresql -- %{name}
if [ ! -d %{freeside_conf}/conf.DBI:Pg:dbname=%{name} ]; then
mkdir %{freeside_conf}/conf.DBI:Pg:dbname=%{name}
+ chown freeside.freeside %{freeside_conf}/conf.DBI:Pg:dbname=%{name}
cp -pr %{freeside_conf}/default_conf/* %{freeside_conf}/conf.DBI:Pg:dbname=%{name}
fi
%triggerin -- %{name}-postgresql
if [ ! -d %{freeside_conf}/conf.DBI:Pg:dbname=%{name} ]; then
mkdir %{freeside_conf}/conf.DBI:Pg:dbname=%{name}
+ chown freeside.freeside %{freeside_conf}/conf.DBI:Pg:dbname=%{name}
cp -pr %{freeside_conf}/default_conf/* %{freeside_conf}/conf.DBI:Pg:dbname=%{name}
fi
@@ -396,12 +398,14 @@
%triggerin mysql -- %{name}
if [ ! -d %{freeside_conf}/conf.DBI:mysql:dbname=%{name} ]; then
mkdir %{freeside_conf}/conf.DBI:mysql:dbname=%{name}
+ chown freeside.freeside %{freeside_conf}/conf.DBI:mysql:dbname=%{name}
cp -pr %{freeside_conf}/default_conf/* %{freeside_conf}/conf.DBI:mysql:dbname=%{name}
fi
%triggerin -- %{name}-mysql
if [ ! -d %{freeside_conf}/conf.DBI:mysql:dbname=%{name} ]; then
mkdir %{freeside_conf}/conf.DBI:mysql:dbname=%{name}
+ chown freeside.freeside %{freeside_conf}/conf.DBI:mysql:dbname=%{name}
cp -pr %{freeside_conf}/default_conf/* %{freeside_conf}/conf.DBI:mysql:dbname=%{name}
fi
@@ -436,6 +440,7 @@
%attr(-,freeside,freeside) %dir %{freeside_lock}
%attr(-,freeside,freeside) %dir %{freeside_log}
%attr(0711,freeside,freeside) %config(noreplace) %{freeside_conf}/default_conf
+%attr(0644,freeside,freeside) %config(noreplace) %{freeside_conf}/default_conf/*
%files mason -f %{name}-%{version}-%{release}-mason-filelist
%defattr(-, freeside, freeside, 0755)
More information about the freeside-commits
mailing list