/[smecontribs]/rpms/smeserver-mediatomb/contribs9/smeserver-mediatomb-1.0-bz10569-autoscandir.patch
ViewVC logotype

Contents of /rpms/smeserver-mediatomb/contribs9/smeserver-mediatomb-1.0-bz10569-autoscandir.patch

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


Revision 1.2 - (show annotations) (download)
Fri Jan 4 20:40:13 2019 UTC (5 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mediatomb-1_0-12_el6_sme, smeserver-mediatomb-1_0-11_el6_sme, smeserver-mediatomb-1_0-10_el6_sme, smeserver-mediatomb-1_0-13_el6_sme, HEAD
Changes since 1.1: +2 -2 lines
* Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-10.sme
- add /etc/mediatomb [SME: 10546]

1 diff -Nur smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths
2 --- smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths 2018-03-18 23:52:55.000000000 -0400
3 +++ smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/120paths 2019-01-04 10:22:38.317000000 -0500
4 @@ -3,7 +3,6 @@
5
6 $OUT .= " <home>/etc/mediatomb</home>
7 <webroot>/usr/share/mediatomb/web</webroot>
8 - <servedir>/$serverdir</servedir>
9 - <!-- <servedir>/home/e-smith/files/ibays/video/files</servedir> -->\n";
10 + <servedir>/$serverdir</servedir>\n";
11
12 -}
13 \ Pas de fin de ligne à la fin du fichier
14 +}
15 diff -Nur smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1 smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1
16 --- smeserver-mediatomb-1.0.old/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1 2018-03-19 00:36:57.000000000 -0400
17 +++ smeserver-mediatomb-1.0/root/etc/e-smith/templates/etc/mediatomb/config.xml/25autoscanDir1 2019-01-04 10:22:02.098000000 -0500
18 @@ -1,4 +1,8 @@
19 +{
20 +my $serverdir= ${'mediatomb'}{'serverdir'} || 'mediatomb';
21
22 - <directory location="/mediatomb" mode="timed" interval="3600"
23 - level="full" recursive="yes" hidden-files="no"/>
24 +$OUT .= '<directory location="/'.$serverdir.'" mode="timed" interval="3600"
25 + level="full" recursive="yes" hidden-files="no"/>';
26 +
27 +}
28

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