tiny-slitaz diff helper @ rev 31
More verbose titles
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 19:08:26 2019 +0200 (2019-09-25) |
parents | 26423b57df46 |
children | 798a84e27cc9 |
line diff
1.1 --- a/helper Fri Sep 20 21:20:45 2019 +0200 1.2 +++ b/helper Wed Sep 25 19:08:26 2019 +0200 1.3 @@ -235,6 +235,7 @@ 1.4 <p> 1.5 You may want to install the following package(s) too: 1.6 </p> 1.7 + <input type="hidden" name="EXTRA_SUGGESTED" value="$SUGG" /> 1.8 <div class="large"> 1.9 <table> 1.10 <thead> 1.11 @@ -432,7 +433,7 @@ 1.12 [ -s $1/fs/boot/bootmenu ] && while read bin button text; do 1.13 cat <<EOT 1.14 <input name="download" value="${button%%,*} ($(du -h \ 1.15 -$1/fs/boot/$bin | awk '{ printf "%s",$1 }'))" type="submit" /> 1.16 +$1/fs/boot/$bin | awk '{ printf "%s",$1 }'))" type="submit" title="$text" /> 1.17 EOT 1.18 done < $1/fs/boot/bootmenu 1.19 } 1.20 @@ -551,7 +552,7 @@ 1.21 echo -n "sh fs/boot/bundle out ' SliTaz boot menu'" 1.22 echo -n " slitaz.img 'Tiny SliTaz'" 1.23 while read bin button text; do 1.24 - echo -n " fs/boot/$bin '$text'" 1.25 + echo -n " fs/boot/$bin '${text% (*}'" 1.26 done < fs/boot/bootmenu 1.27 fi | sh 1.28 [ -s out ] || mv slitaz.img out