From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-webteam/2011-March/000597.html | 83 +++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 zarb-ml/mageia-webteam/2011-March/000597.html (limited to 'zarb-ml/mageia-webteam/2011-March/000597.html') diff --git a/zarb-ml/mageia-webteam/2011-March/000597.html b/zarb-ml/mageia-webteam/2011-March/000597.html new file mode 100644 index 000000000..26f5c4c40 --- /dev/null +++ b/zarb-ml/mageia-webteam/2011-March/000597.html @@ -0,0 +1,83 @@ + + + + [Mageia-webteam] [Bug 72] default page doesn't redirect to website + + + + + + + + + +

[Mageia-webteam] [Bug 72] default page doesn't redirect to website

+ Ahmad Samir + bugzilla-daemon at mageia.org +
+ Wed Mar 30 01:16:36 CEST 2011 +

+
+ +
https://bugs.mageia.org/show_bug.cgi?id=72
+
+--- Comment #15 from Ahmad Samir <ahmadsamir3891 at gmail.com> 2011-03-30 01:16:36 UTC ---
+The logic is wrong in the spec:
+# add a default 
+cat %buildroot/%_datadir/indexhtml/index.html | \
+    sed "s/#PRODUCT_ID//" | \
+    sed "s/#LANG/en/g" \
+    > tmpfile
+mv tmpfile %buildroot/%_datadir/indexhtml/index.html
+
+%post
+# done to prevent excludedocs to ignore the doc/HTML
+mkdir -p  %_datadir/indexhtml
+sed -i "s/#PRODUCT_ID/`cat /etc/product.id`/" \
+    -i sed "s/#PRODUCT_ID/`cat /etc/product.id`/" \
+    -i sed sed "s/#LANG/${LC_NAME/[-_]*}/g" \
+%_datadir/indexhtml/index.html
+
+in %post, %_datadir/indexhtml/index.html doesn't have #PRODUCT_ID or #LANG,
+they were already replaced in "add a default" in that same file.
+
+-- 
+Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
+------- You are receiving this mail because: -------
+You are on the CC list for the bug.
+
+ + + + +
+

+ +
+More information about the Mageia-webteam +mailing list
+ -- cgit v1.2.1