diff options
author | Guillaume Rousse <guillomovitch@mageia.org> | 2012-03-07 21:04:22 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mageia.org> | 2012-03-07 21:04:22 +0000 |
commit | 3aa8854562c4cf65db0d80601371cb7298d36aaa (patch) | |
tree | 664625915e844d0eaca8c0388722445fb45e9fac /urpmi.bash-completion | |
parent | 3ae26e43fd39a1caf06ad73bd00759422217807e (diff) | |
download | urpmi-3aa8854562c4cf65db0d80601371cb7298d36aaa.tar urpmi-3aa8854562c4cf65db0d80601371cb7298d36aaa.tar.gz urpmi-3aa8854562c4cf65db0d80601371cb7298d36aaa.tar.bz2 urpmi-3aa8854562c4cf65db0d80601371cb7298d36aaa.tar.xz urpmi-3aa8854562c4cf65db0d80601371cb7298d36aaa.zip |
more whitespace cleanup
Diffstat (limited to 'urpmi.bash-completion')
-rw-r--r-- | urpmi.bash-completion | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/urpmi.bash-completion b/urpmi.bash-completion index 7122d853..2fad4a72 100644 --- a/urpmi.bash-completion +++ b/urpmi.bash-completion @@ -25,7 +25,7 @@ _urpmi_aliases() COMPREPLY=( $( awk -F: '{print $1}' /etc/urpmi/parallel.cfg 2>/dev/null | grep "^${cur//\\\\/}" ) ) } -_urpmi_packages() +_urpmi_packages() { local options @@ -34,7 +34,7 @@ _urpmi_packages() case "${COMP_WORDS[i]}" in --@\(excludemedia|media\)) options="$options ${COMP_WORDS[i]} ${COMP_WORDS[i+1]}" - i=$(($i+1)) + i=$(($i+1)) ;; --update) options="$options ${COMP_WORDS[i]}" @@ -119,8 +119,8 @@ _urpmi() else # return available packages (unless clearly a file) # and rpm files - if [[ "$cur" != */* ]]; then - _urpmi_packages + if [[ "$cur" != */* ]]; then + _urpmi_packages fi _filedir '@(rpm|spec)' fi |