# HG changeset patch # User Pascal Bellard # Date 1299321260 -3600 # Node ID 4593ceba061c121fadd2969a5499079fa3dad250 # Parent e22b160b5c812d0aa1020786dbf15bc88caecf1d slitaz-doc: fix genpkg_rules diff -r e22b160b5c81 -r 4593ceba061c slitaz-doc/receipt --- a/slitaz-doc/receipt Sat Mar 05 10:44:27 2011 +0100 +++ b/slitaz-doc/receipt Sat Mar 05 11:34:20 2011 +0100 @@ -15,14 +15,12 @@ mkdir -p $fs/usr/share/doc/slitaz \ $fs/usr/share/pixmaps \ $fs/etc/skel/Desktop \ - # Copy default english doc from slitaz/ and set permissions. - cp -a $src/slitaz/index.en.html $fs/usr/share/doc/slitaz - cp -a $src/slitaz/index.html $fs/usr/share/doc/slitaz - # For stable release. - cp -a $src/slitaz/relnotes.*.html $fs/usr/share/doc/slitaz - cp -a $src/slitaz/book.css $fs/usr/share/doc/slitaz - cp -a $src/slitaz/favicon.ico $fs/usr/share/doc/slitaz - cp -a $src/slitaz/images $fs/usr/share/doc/slitaz + # Copy default english doc from slitaz/ and set permissions. + cd $src/slitaz + for i in index.en.html index.html relnotes.*.html book.css \ + favicon.ico images ; do + [ -e "$i" ] && cp -a $i $fs/usr/share/doc/slitaz + done # Desktop file and pixmaps cp $src/applications/slitaz-doc.desktop $fs/etc/skel/Desktop cp -a $src/pixmaps $fs/usr/share