1 |
jpp |
1.1 |
diff -Nurr smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/14db smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/14db |
2 |
|
|
--- smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/14db 2019-01-04 19:30:33.505000000 -0500 |
3 |
|
|
+++ smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/14db 2019-01-04 19:31:39.011000000 -0500 |
4 |
|
|
@@ -1,8 +1,8 @@ |
5 |
|
|
{ |
6 |
|
|
-my $dbtype = ( ( ${'mediatomb'}{'DBtype'} || '' ) eq 'sqlite' ) ? 'sqlite' : 'mysql'; |
7 |
|
|
-my $dbname = ${'mediatomb'}{'DBName'} || 'mediatomb'; |
8 |
|
|
-my $dbuser = ${'mediatomb'}{'DBUser'} || 'mediatomb'; |
9 |
|
|
-my $pass = ${'mediatomb'}{'DBPassword'} || ''; |
10 |
|
|
+my $dbtype = ( ( ${'mediatomb'}{'DbType'} || '' ) eq 'sqlite' ) ? 'sqlite' : 'mysql'; |
11 |
|
|
+my $dbname = ${'mediatomb'}{'DbName'} || 'mediatomb'; |
12 |
|
|
+my $dbuser = ${'mediatomb'}{'DbUser'} || 'mediatomb'; |
13 |
|
|
+my $pass = ${'mediatomb'}{'DbPassword'} || ''; |
14 |
|
|
my $sqlite = 'no'; |
15 |
|
|
my $mysql = 'yes'; |
16 |
|
|
if ($dbtype ne 'mysql' || $pass eq '' ) |