wok-6.x diff busybox/stuff/command_not_found @ rev 23946

syslinux/taziso: add plop support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 20 14:15:26 2020 +0000 (2020-09-20)
parents def8459358ed
children
line diff
     1.1 --- a/busybox/stuff/command_not_found	Fri Sep 27 10:58:35 2019 +0200
     1.2 +++ b/busybox/stuff/command_not_found	Sun Sep 20 14:15:26 2020 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  grep -E "(: ${PATH//:/|: })" | gzip -9 >$LIST && chmod 666 $LIST
     1.5  
     1.6  lookup() {
     1.7 -	zcat $LIST | grep "/$2$1$" | if read pkg file; then
     1.8 +	zcat $LIST 2> /dev/null | grep "/$2$1$" | if read pkg file; then
     1.9  		cat <<EOT
    1.10  Command '$1' not found, but can be installed as root with:
    1.11