summaryrefslogtreecommitdiffstats
path: root/indexhtml.spec
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-09-18 13:50:49 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-09-18 13:50:49 +0000
commit34d7bff45f18d66a1a87837b85094f61fbe66dee (patch)
tree2f3b7c8bfa84d7ee7891e3f1b5cd949a39ed5132 /indexhtml.spec
parent2cf080ac4ec957db61383838a472086381c7df38 (diff)
downloadindexhtml-34d7bff45f18d66a1a87837b85094f61fbe66dee.tar
indexhtml-34d7bff45f18d66a1a87837b85094f61fbe66dee.tar.gz
indexhtml-34d7bff45f18d66a1a87837b85094f61fbe66dee.tar.bz2
indexhtml-34d7bff45f18d66a1a87837b85094f61fbe66dee.tar.xz
indexhtml-34d7bff45f18d66a1a87837b85094f61fbe66dee.zip
fixed css path substitution
Diffstat (limited to 'indexhtml.spec')
-rw-r--r--indexhtml.spec10
1 files changed, 5 insertions, 5 deletions
diff --git a/indexhtml.spec b/indexhtml.spec
index cc85f23..23a7fec 100644
--- a/indexhtml.spec
+++ b/indexhtml.spec
@@ -57,14 +57,14 @@ for i in $LISTLANG
do
if [ -r %_datadir/mdk/indexhtml/index-$i.html ]; then
cat %_datadir/mdk/indexhtml/index-$i.html | \
- sed 's:="\([^"]*.css\)">:="%_datadir/mdk/indexhtml/\1">:' > \
+ sed 's:="\([^/][^"]*.css\)">:="%_datadir/mdk/indexhtml/\1">:' > \
%_datadir/doc/HTML/index.html
break
else
lang=`echo $i | cut -b-2`
if [ -r %_datadir/mdk/indexhtml/index-$lang.html ]; then
cat %_datadir/mdk/indexhtml/index-$lang.html | \
- sed 's:="\([^"]*.css\)">:="%_datadir/mdk/indexhtml/\1">:' > \
+ sed 's:="\([^/][^"]*.css\)">:="%_datadir/mdk/indexhtml/\1">:' > \
%_datadir/doc/HTML/index.html
break;
@@ -74,7 +74,7 @@ done
if [ ! -r %_datadir/doc/HTML/index.html ]; then
cat %_datadir/mdk/indexhtml/index-en.html | \
- sed 's:="\([^"]*.css\)">:="%_datadir/mdk/indexhtml/\1">:' > \
+ sed 's:="\([^/][^"]*.css\)">:="%_datadir/mdk/indexhtml/\1">:' > \
%_datadir/doc/HTML/index.html
fi
@@ -95,8 +95,8 @@ fi
%changelog
* .......
-- Added Farsi file
-- updated Bosnian file
+- updated Bosnian, Uzbek, Portuguese, Slovak, Hindi and Maltese files
+- corrected css path substitution
* Mon Sep 01 2003 David Baudens <baudens@mandrakesoft.com> - 9.1-10mdk
- Remove Safari