wok diff busybox/stuff/command_not_found @ rev 22057

updated tumbler and tumbler-dev (0.1.27 -> 0.2.7)
author Hans-G?nter Theisgen
date Wed Oct 23 16:26:38 2019 +0100 (2019-10-23)
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	Wed Oct 23 16:26:38 2019 +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