about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Debian/Command/_dpkg4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d96798c02..adc44d6de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-28  Clint Adams  <clint@zsh.org>
+
+	* 17244: Completion/Debian/Command/_dpkg:
+	don't complete udebs for --unpack or -i.
+
 2002-05-27  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 17237: Src/Zle/complist.c: follow-up to 17222, make the
diff --git a/Completion/Debian/Command/_dpkg b/Completion/Debian/Command/_dpkg
index b68f942f1..79851134b 100644
--- a/Completion/Debian/Command/_dpkg
+++ b/Completion/Debian/Command/_dpkg
@@ -24,7 +24,7 @@ _dpkg_common_actions=(
 
 _dpkg_actions=(
   '(--install -i)'{--install,-i}'[install packages]:*:Debian packages:->install'
-  '--unpack[unpack package]:Debian package:_files -g \*.u\#deb'
+  '--unpack[unpack package]:Debian package:_files -g \*.deb'
   '--configure[reconfigure specified packages]:*:package:->configure'
   '(--remove -r)'{--remove,-r}'[remove package]:*:package:->remove'
   '(--purge -P)'{--purge,-P}'[purge package]:*:package:->purge'
@@ -101,7 +101,7 @@ case "$state" in
              "$_dpkg_options_recursive[@]" \
 	     '*:directory:_path_files -/' \
 	   - nonrecur \
-	     '*:Debian package:_path_files -g \*.u\#deb'
+	     '*:Debian package:_path_files -g \*.deb'
   ;;
   remove|purge|status|listfiles)
         _call_function ret _dpkg_$state && return ret