[freeside-commits] freeside/rt/sbin rt-setup-database.in, 1.11, 1.12
Ivan,,,
ivan at wavetail.420.am
Sat Jan 9 14:48:48 PST 2010
Update of /home/cvs/cvsroot/freeside/rt/sbin
In directory wavetail.420.am:/tmp/cvs-serv1458/rt/sbin
Modified Files:
rt-setup-database.in
Log Message:
fixup initial RT setup for 3.8
Index: rt-setup-database.in
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/sbin/rt-setup-database.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- rt-setup-database.in 31 Dec 2009 14:00:35 -0000 1.11
+++ rt-setup-database.in 9 Jan 2010 22:48:46 -0000 1.12
@@ -150,7 +150,9 @@
}
my $dba_user = $args{'dba'} || $ENV{'RT_DBA_USER'} || $db_user || '';
-my $dba_pass = $args{'dba-password'} || $ENV{'RT_DBA_PASSWORD'};
+my $dba_pass = exists($args{'dba-password'})
+ ? $args{'dba-password'}
+ : $ENV{'RT_DBA_PASSWORD'};
if ( !$args{force} && ( !defined $dba_pass || $args{'prompt-for-dba-password'} ) ) {
$dba_pass = get_dba_password();
More information about the freeside-commits
mailing list