about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Debian/_deb_packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/_deb_packages b/Completion/Debian/_deb_packages
index 94499cbdb..7973d9868 100644
--- a/Completion/Debian/_deb_packages
+++ b/Completion/Debian/_deb_packages
@@ -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 }')"}
     )