summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-January/001932.html
blob: 17d0df8f68e6a07224d1ea8a3a6347e3eaa18815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [270] Use a subdirectory for data, to be writable by apache and fix a syntax error
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B270%5D%20Use%20a%20subdirectory%20for%20data%2C%0A%20to%20be%20writable%20by%20apache%20and%20fix%20a%20syntax%20error&In-Reply-To=%3C20110112115213.B449B421F8%40valstar.mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="001931.html">
   <LINK REL="Next"  HREF="001933.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [270] Use a subdirectory for data, to be writable by apache and fix a syntax error</H1>
    <B>root at mageia.org</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B270%5D%20Use%20a%20subdirectory%20for%20data%2C%0A%20to%20be%20writable%20by%20apache%20and%20fix%20a%20syntax%20error&In-Reply-To=%3C20110112115213.B449B421F8%40valstar.mageia.org%3E"
       TITLE="[Mageia-sysadm] [270] Use a subdirectory for data, to be writable by apache and fix a syntax error">root at mageia.org
       </A><BR>
    <I>Wed Jan 12 12:52:13 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="001931.html">[Mageia-sysadm] [269] Import my changes + rda's style
</A></li>
        <LI>Next message: <A HREF="001933.html">[Mageia-sysadm] [271] Revert some changes which were part of	another unfinished change
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1932">[ date ]</a>
              <a href="thread.html#1932">[ thread ]</a>
              <a href="subject.html#1932">[ subject ]</a>
              <a href="author.html#1932">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Revision: 270
Author:   pterjan
Date:     2011-01-12 12:52:13 +0100 (Wed, 12 Jan 2011)
Log Message:
-----------
Use a subdirectory for data, to be writable by apache and fix a syntax error

Modified Paths:
--------------
    build_system/web/index.php

Modified: build_system/web/index.php
===================================================================
--- build_system/web/index.php	2011-01-12 11:44:21 UTC (rev 269)
+++ build_system/web/index.php	2011-01-12 11:52:13 UTC (rev 270)
@@ -16,6 +16,7 @@
 $tz = new DateTimeZone(&quot;UTC&quot;);
 
 # Temporary until initial mirror is ready
+chdir(&quot;data&quot;);
 $nb_rpm = shell_exec('rpm -qp --qf &quot;%{SOURCERPM}\n&quot; /distrib/bootstrap/distrib/cauldron/i586/media/core/release/*.rpm | sort -u | tee src.txt | wc -l');
 $nb_rpm_mga = shell_exec('grep mga src.txt | tee src.mga.txt | wc -l');
 shell_exec('grep -v mga src.txt &gt; src.mdv.txt');
@@ -172,7 +173,6 @@
     echo $p[&quot;type&quot;];
     if ($typelink)
         echo &quot;&lt;/a&gt;&quot;;
-    }
     echo &quot;&lt;/td&gt;\n&quot;;
     echo &quot;&lt;/tr&gt;\n&quot;;
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;/pipermail/mageia-sysadm/attachments/20110112/15a2f288/attachment.html&gt;
</PRE>












<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="001931.html">[Mageia-sysadm] [269] Import my changes + rda's style
</A></li>
	<LI>Next message: <A HREF="001933.html">[Mageia-sysadm] [271] Revert some changes which were part of	another unfinished change
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1932">[ date ]</a>
              <a href="thread.html#1932">[ thread ]</a>
              <a href="subject.html#1932">[ subject ]</a>
              <a href="author.html#1932">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>