# HG changeset patch # User Pascal Bellard # Date 1486897311 -3600 # Node ID acdd1536ea516de097f63abf9c4ebe6cb10db54f # Parent 8edcbdb1527318713d564e51f8c22e1956ccddaa search.sh: clouds cache (again) diff -r 8edcbdb15273 -r acdd1536ea51 pkgs/search.sh --- a/pkgs/search.sh Sun Feb 12 09:11:24 2017 +0000 +++ b/pkgs/search.sh Sun Feb 12 12:01:51 2017 +0100 @@ -891,7 +891,8 @@ display_cloud() { arg=$1 - [ /tmp/cloud-$arg -nt $pkglist ] && cat /tmp/cloud-$arg || + [ /tmp/cloud-$arg-$SLITAZ_VERSION -nt $pkglist ] && + cat /tmp/cloud-$arg-$SLITAZ_VERSION || find $WOK/ -maxdepth 2 -name receipt -exec sed \ "/^$1=/!d;s/.*['\"<]\\(..*\\)[>\"'].*/\\1/" {} \; | awk ' { @@ -932,7 +933,7 @@ TAGS) _p '%s tag' '%s tags' "$count" "$count";; esac echo '

' - } | tee /tmp/cloud-$arg + } | tee /tmp/cloud-$arg-$SLITAZ_VERSION }