wok-current rev 9113
slitaz-doc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 11:34:20 2011 +0100 (2011-03-05) |
parents | e22b160b5c81 |
children | 925d45357256 |
files | slitaz-doc/receipt |
line diff
1.1 --- a/slitaz-doc/receipt Sat Mar 05 10:44:27 2011 +0100 1.2 +++ b/slitaz-doc/receipt Sat Mar 05 11:34:20 2011 +0100 1.3 @@ -15,14 +15,12 @@ 1.4 mkdir -p $fs/usr/share/doc/slitaz \ 1.5 $fs/usr/share/pixmaps \ 1.6 $fs/etc/skel/Desktop \ 1.7 - # Copy default english doc from slitaz/ and set permissions. 1.8 - cp -a $src/slitaz/index.en.html $fs/usr/share/doc/slitaz 1.9 - cp -a $src/slitaz/index.html $fs/usr/share/doc/slitaz 1.10 - # For stable release. 1.11 - cp -a $src/slitaz/relnotes.*.html $fs/usr/share/doc/slitaz 1.12 - cp -a $src/slitaz/book.css $fs/usr/share/doc/slitaz 1.13 - cp -a $src/slitaz/favicon.ico $fs/usr/share/doc/slitaz 1.14 - cp -a $src/slitaz/images $fs/usr/share/doc/slitaz 1.15 + # Copy default english doc from slitaz/ and set permissions. 1.16 + cd $src/slitaz 1.17 + for i in index.en.html index.html relnotes.*.html book.css \ 1.18 + favicon.ico images ; do 1.19 + [ -e "$i" ] && cp -a $i $fs/usr/share/doc/slitaz 1.20 + done 1.21 # Desktop file and pixmaps 1.22 cp $src/applications/slitaz-doc.desktop $fs/etc/skel/Desktop 1.23 cp -a $src/pixmaps $fs/usr/share