wok-current rev 20300
hp15c: fix help
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 04 00:21:41 2018 +0200 (2018-05-04) |
parents | 5386dbd4c0b4 |
children | 1569af23c651 |
files | hp15c/receipt sane-backends/receipt |
line diff
1.1 --- a/hp15c/receipt Thu May 03 15:14:01 2018 +0200 1.2 +++ b/hp15c/receipt Fri May 04 00:21:41 2018 +0200 1.3 @@ -20,6 +20,11 @@ 1.4 mkdir -p $fs/usr/share/hp15c $fs/usr/share/applications \ 1.5 $fs/usr/share/fonts/truetype/ttf-dejavu 1.6 cp -a $src/* $fs/usr/share/hp15c 1.7 + sed -i 's|firefox|tazweb midori &|' \ 1.8 + $fs/usr/share/hp15c/HP-15C.tcl \ 1.9 + $fs/usr/share/hp15c/doc/preferences.htm 1.10 + sed -i 's|url_open \$helpfile|url_open file:///$helpfile|' \ 1.11 + $fs/usr/share/hp15c/HP-15C.tcl 1.12 mv $fs/usr/share/hp15c/HP-15C_Simulator_Font.ttf \ 1.13 $fs/usr/share/fonts/truetype/ttf-dejavu 1.14 cat > $fs/usr/share/hp15c/HP-15C.sh <<EOT
2.1 --- a/sane-backends/receipt Thu May 03 15:14:01 2018 +0200 2.2 +++ b/sane-backends/receipt Fri May 04 00:21:41 2018 +0200 2.3 @@ -73,7 +73,7 @@ 2.4 if ! grep -q scanner "$1/etc/group" ; then 2.5 chroot "$1/" addgroup -g 96 scanner 2.6 fi 2.7 - chgrp 96 $1/usr/bin/scanimage 2.8 + chroot "$1/" chgrp scanner /usr/bin/scanimage 2.9 chmod 4750 $1/usr/bin/scanimage 2.10 2.11 echo " ADD yourself to group scanner to use sane: addgroup tux scanner"