diff options
author | ivan <ivan> | 2001-04-26 00:18:36 +0000 |
---|---|---|
committer | ivan <ivan> | 2001-04-26 00:18:36 +0000 |
commit | aa120bd3a40e65fe9751c0128c2ffe57cfad0b89 (patch) | |
tree | bb18950c5e062c4550e9bd6d1f0b35573ab55bfe | |
parent | 9bdcd4171c17f020420b6d8c8e7b335695b2abb1 (diff) |
sigh
-rwxr-xr-x | fs_webdemo/registerd.Pg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs_webdemo/registerd.Pg b/fs_webdemo/registerd.Pg index 702d83d06..53a118638 100755 --- a/fs_webdemo/registerd.Pg +++ b/fs_webdemo/registerd.Pg @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # -# $Id: registerd.Pg,v 1.3 2001-04-26 00:17:39 ivan Exp $ +# $Id: registerd.Pg,v 1.4 2001-04-26 00:18:36 ivan Exp $ use strict; use vars qw( @@ -87,7 +87,7 @@ while ( 1 ) { system("/usr/bin/createdb --username freeside demo_$username | mail ivan-createdb\@420.am"); - system "psql -U freeside demo_$username </usr/local/etc/freeside/demo_template.Pg"; + system "psql -U freeside demo_$username </usr/local/etc/freeside/demo_template.Pg | mail ivan-psql\@420.am"; mkdir "${freeside_conf}conf.DBI:Pg:host=localhost;dbname=demo_$username", 0755; system "cp -pr ${freeside_conf}conf.DBI:Pg:host=localhost\\;dbname=demo_template/* ". |