wok diff busybox/stuff/command_not_found @ rev 25238

updated python-singledispatch (3.4.0.3 -> 3.7.0)
author Hans-G?nter Theisgen
date Thu Jul 14 06:18:11 2022 +0100 (24 months ago)
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	Thu Jul 14 06:18:11 2022 +0100
     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