/[smecontribs]/rpms/smeserver-mediatomb/contribs9/smeserver-mediatomb-1.0-bz10546-db-var.patch
ViewVC logotype

Contents of /rpms/smeserver-mediatomb/contribs9/smeserver-mediatomb-1.0-bz10546-db-var.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Jan 5 00:36:30 2019 UTC (5 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mediatomb-1_0-11_el6_sme, smeserver-mediatomb-1_0-12_el6_sme, smeserver-mediatomb-1_0-13_el6_sme, HEAD
* Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-11.sme
- wrong variable name for DBin templates [SME: 10546]

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 '' )

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed