Package: bash-completion Version: 20060301-4 Severity: normal Tags: patch
apt-get autoremove must complete exactly like apt-get remove, comleting with the list of installed packages --- /etc/bash_completion.old 2008-04-08 11:16:22.000000000 +0200 +++ /etc/bash_completion 2008-04-08 11:16:26.000000000 +0200 @@ -2066,14 +2066,14 @@ prev=${COMP_WORDS[COMP_CWORD-1]} for (( i=0; i < [EMAIL PROTECTED]; i++ )); do - if [[ ${COMP_WORDS[i]} == @(install|remove|purge|source|build-dep) ]]; then + if [[ ${COMP_WORDS[i]} == @(install|remove|autoremove|purge|source|build-dep) ]]; then special=${COMP_WORDS[i]} fi done if [ -n "$special" ]; then case $special in - remove|purge) + remove|autoremove|purge) if [ -f /etc/debian_version ]; then # Debian system COMPREPLY=( $( _comp_dpkg_installed_packages \ -- System Information: Debian Release: lenny/sid APT prefers oldstable APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US) Shell: /bin/sh linked to /bin/bash Versions of packages bash-completion depends on: ii bash 3.1dfsg-9 The GNU Bourne Again SHell ii ucf 3.006 Update Configuration File: preserv bash-completion recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]