zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _deb_packages cache problem
@ 2000-02-05  6:59 Tanaka Akira
  0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 2000-02-05  6:59 UTC (permalink / raw)
  To: zsh-workers

_deb_packages was testing a wrong variable for cache.

Index: Completion/Debian/_deb_packages
===================================================================
RCS file: /projects/zsh/zsh/Completion/Debian/_deb_packages,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 _deb_packages
--- Completion/Debian/_deb_packages	2000/02/03 17:22:43	1.1.1.8
+++ Completion/Debian/_deb_packages	2000/02/05 06:54:52
@@ -3,7 +3,7 @@
 # Usage: _deb_packages expl... avail|installed|uninstalled
 
 _deb_packages_update_avail () {
-  if (( ! $+_deb_packages_cache_uninstalled )); then
+  if (( ! $+_deb_packages_cache_avail )); then
     _deb_packages_cache_avail=(
       ${(f)"$(apt-cache dumpavail | awk '/^Package:/ { print $2 }')"}
     )
-- 
Tanaka Akira


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-05  7:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-05  6:59 PATCH: _deb_packages cache problem Tanaka Akira

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).