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

updated perl-io-socket-ssl (2.060 -> 2.068)
author Hans-G?nter Theisgen
date Tue Mar 31 09:53:02 2020 +0100 (2020-03-31)
parents 352e1cee9466
children 09d8c12d6514
line diff
     1.1 --- a/busybox/stuff/command_not_found	Wed Sep 25 18:02:05 2019 +0200
     1.2 +++ b/busybox/stuff/command_not_found	Tue Mar 31 09:53:02 2020 +0100
     1.3 @@ -2,8 +2,8 @@
     1.4  
     1.5  FILES=/var/lib/tazpkg/files.list.lzma
     1.6  LIST=/tmp/command-list.gz
     1.7 -[ ! $LIST -nt $FILES ] && unlzma <$FILES | grep -E "(: ${PATH//:/|: })" | \
     1.8 -gzip -9 >$LIST && chmod 666 $LIST
     1.9 +[ -s $FILES ] && [ ! $LIST -nt $FILES ] && unlzma <$FILES | \
    1.10 +grep -E "(: ${PATH//:/|: })" | gzip -9 >$LIST && chmod 666 $LIST
    1.11  
    1.12  lookup() {
    1.13  	zcat $LIST | grep "/$2$1$" | if read pkg file; then