freeside/FS/bin freeside-addoutsource,1.2,1.3 freeside-addoutsourceuser,1.6,1.7
ivan
ivan at pouncequick.420.am
Tue May 3 06:29:41 PDT 2005
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory pouncequick:/tmp/cvs-serv31862
Modified Files:
freeside-addoutsource freeside-addoutsourceuser
Log Message:
remove unnecessary host=localhost from outsource instance creation foo
Index: freeside-addoutsource
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-addoutsource,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- freeside-addoutsource 24 Aug 2002 02:10:54 -0000 1.2
+++ freeside-addoutsource 3 May 2005 13:29:38 -0000 1.3
@@ -4,21 +4,21 @@
createdb $domain && \
\
-mkdir /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain && \
+mkdir /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain && \
\
-chown freeside /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain && \
+chown freeside /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain && \
\
-cp /home/ivan/freeside/conf/[a-z]* /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain && \
+cp /home/ivan/freeside/conf/[a-z]* /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain && \
\
-touch /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain/secrets && \
+touch /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain/secrets && \
\
-chown freeside /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain/secrets && \
+chown freeside /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain/secrets && \
\
-chmod 600 /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain/secrets && \
+chmod 600 /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain/secrets && \
\
-echo -e "DBI:Pg:host=localhost;dbname=$domain\nfreeside\n" >/usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain/secrets && \
+echo -e "DBI:Pg:dbname=$domain\nfreeside\n" >/usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain/secrets && \
\
-mkdir /usr/local/etc/freeside/counters.DBI:Pg:host=localhost\;dbname=$domain && \
-mkdir /usr/local/etc/freeside/cache.DBI:Pg:host=localhost\;dbname=$domain && \
-mkdir /usr/local/etc/freeside/export.DBI:Pg:host=localhost\;dbname=$domain
+mkdir /usr/local/etc/freeside/counters.DBI:Pg:dbname=$domain && \
+mkdir /usr/local/etc/freeside/cache.DBI:Pg:dbname=$domain && \
+mkdir /usr/local/etc/freeside/export.DBI:Pg:dbname=$domain
Index: freeside-addoutsourceuser
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-addoutsourceuser,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- freeside-addoutsourceuser 21 Dec 2003 21:12:43 -0000 1.6
+++ freeside-addoutsourceuser 3 May 2005 13:29:38 -0000 1.7
@@ -5,11 +5,11 @@
password=$3
freeside-adduser -h /usr/local/etc/freeside/htpasswd \
- -s conf.DBI:Pg:host=localhost\;dbname=$domain/secrets \
+ -s conf.DBI:Pg:dbname=$domain/secrets \
-b \
$username $password 2>/dev/null
-[ -e /usr/local/etc/freeside/dbdef.DBI:Pg:host=localhost\;dbname=$domain ] \
+[ -e /usr/local/etc/freeside/dbdef.DBI:Pg:dbname=$domain ] \
|| ( freeside-setup -s $username 2>/dev/null; \
/home/ivan/freeside/bin/populate-msgcat $username 2>/dev/null )
More information about the freeside-commits
mailing list