so Search.tsf and Search.rdf work
[freeside.git] / FS / bin / freeside-addoutsourceuser
index abb515b..cad07f1 100644 (file)
@@ -5,11 +5,11 @@ domain=$2
 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 )