cookutils rev 1145
cooker.cgi: fix src= path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 05 15:22:15 2020 +0100 (2020-02-05) |
parents | 2cd010c6ba96 |
children | db1cfeb9ac36 |
files | web/cooker.cgi |
line diff
1.1 --- a/web/cooker.cgi Sat Dec 14 17:19:34 2019 +0100 1.2 +++ b/web/cooker.cgi Wed Feb 05 15:22:15 2020 +0100 1.3 @@ -46,7 +46,7 @@ 1.4 EOT 1.5 exit ;; 1.6 src*) 1.7 - file="$PKGS/${QUERY_STRING#*=}" 1.8 + file="$PKGS/../src/${QUERY_STRING#*=}" 1.9 cat <<EOT 1.10 Content-Type: application/octet-stream 1.11 Content-Length: $(stat -c %s "$file") 1.12 @@ -339,6 +339,7 @@ 1.13 fi 1.14 [ -x ./man2html ] && 1.15 if [ -d $wok/$bpkg/install/usr/man ] || 1.16 + [ -d $wok/$bpkg/install/usr/local/man ] || 1.17 [ -d $wok/$bpkg/install/usr/share/man ] || 1.18 [ -d $wok/$bpkg/taz/*/fs/usr/man ] || 1.19 [ -d $wok/$bpkg/taz/*/fs/usr/share/man ]; then