diff -Nru bash-completion-20080705ubuntu1/bash_completion bash-completion-20080705ubuntu2/bash_completion --- bash-completion-20080705ubuntu1/bash_completion 2009-01-08 06:22:01.000000000 -0500 +++ bash-completion-20080705ubuntu2/bash_completion 2009-01-13 11:30:36.000000000 -0500 @@ -796,7 +796,8 @@ # behave like lsmod for modprobe -r if [ $1 = "modprobe" ] && - [ "${COMP_WORDS[1]}" = "-r" ]; then + [ "${COMP_WORDS[1]}" = "-r" ] && + [[ "$cur" != */* ]]; then COMPREPLY=( $( /sbin/lsmod | \ awk '{if (NR != 1 && $1 ~ /^'$cur'/) print $1}' ) ) return 0 diff -Nru bash-completion-20080705ubuntu1/debian/changelog bash-completion-20080705ubuntu2/debian/changelog --- bash-completion-20080705ubuntu1/debian/changelog 2009-01-08 06:22:01.000000000 -0500 +++ bash-completion-20080705ubuntu2/debian/changelog 2009-01-13 11:31:33.000000000 -0500 @@ -1,3 +1,9 @@ +bash-completion (20080705ubuntu2) jaunty; urgency=low + + * Fix error in modprobe completion (LP: 316654) + + -- Martin Mai Tue, 13 Jan 2009 11:30:49 -0500 + bash-completion (20080705ubuntu1) jaunty; urgency=low * Merge from Debian, remaining changes: (LP: #314806)