summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-webteam/2011-March/000597.html
blob: 26f5c4c40b742a042ea357d554f9d1a365a22e06 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-webteam] [Bug 72] default page doesn't redirect to website
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-webteam%40mageia.org?Subject=Re%3A%20%5BMageia-webteam%5D%20%5BBug%2072%5D%20default%20page%20doesn%27t%20redirect%20to%20website&In-Reply-To=%3C20110329231637.01E1042CE4%40alamut.mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000596.html">
   <LINK REL="Next"  HREF="000598.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-webteam] [Bug 72] default page doesn't redirect to website</H1>
    <B>Ahmad Samir</B> 
    <A HREF="mailto:mageia-webteam%40mageia.org?Subject=Re%3A%20%5BMageia-webteam%5D%20%5BBug%2072%5D%20default%20page%20doesn%27t%20redirect%20to%20website&In-Reply-To=%3C20110329231637.01E1042CE4%40alamut.mageia.org%3E"
       TITLE="[Mageia-webteam] [Bug 72] default page doesn't redirect to website">bugzilla-daemon at mageia.org
       </A><BR>
    <I>Wed Mar 30 01:16:36 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="000596.html">[Mageia-webteam] [Bug 72] default page doesn't redirect to website
</A></li>
        <LI>Next message: <A HREF="000598.html">[Mageia-webteam] [Bug 72] default page doesn't redirect to website
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#597">[ date ]</a>
              <a href="thread.html#597">[ thread ]</a>
              <a href="subject.html#597">[ subject ]</a>
              <a href="author.html#597">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE><A HREF="https://bugs.mageia.org/show_bug.cgi?id=72">https://bugs.mageia.org/show_bug.cgi?id=72</A>

--- Comment #15 from Ahmad Samir &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-webteam">ahmadsamir3891 at gmail.com</A>&gt; 2011-03-30 01:16:36 UTC ---
The logic is wrong in the spec:
# add a default 
cat %buildroot/%_datadir/indexhtml/index.html | \
    sed &quot;s/#PRODUCT_ID//&quot; | \
    sed &quot;s/#LANG/en/g&quot; \
    &gt; tmpfile
mv tmpfile %buildroot/%_datadir/indexhtml/index.html

%post
# done to prevent excludedocs to ignore the doc/HTML
mkdir -p  %_datadir/indexhtml
sed -i &quot;s/#PRODUCT_ID/`cat /etc/product.id`/&quot; \
    -i sed &quot;s/#PRODUCT_ID/`cat /etc/product.id`/&quot; \
    -i sed sed &quot;s/#LANG/${LC_NAME/[-_]*}/g&quot; \
%_datadir/indexhtml/index.html

in %post, %_datadir/indexhtml/index.html doesn't have #PRODUCT_ID or #LANG,
they were already replaced in &quot;add a default&quot; in that same file.

-- 
Configure bugmail: <A HREF="https://bugs.mageia.org/userprefs.cgi?tab=email">https://bugs.mageia.org/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are on the CC list for the bug.
</PRE>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000596.html">[Mageia-webteam] [Bug 72] default page doesn't redirect to website
</A></li>
	<LI>Next message: <A HREF="000598.html">[Mageia-webteam] [Bug 72] default page doesn't redirect to website
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#597">[ date ]</a>
              <a href="thread.html#597">[ thread ]</a>
              <a href="subject.html#597">[ subject ]</a>
              <a href="author.html#597">[ author ]</a>
         </LI>
       </UL>

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