summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mageia.org>2012-03-07 21:04:22 +0000
committerGuillaume Rousse <guillomovitch@mageia.org>2012-03-07 21:04:22 +0000
commit3aa8854562c4cf65db0d80601371cb7298d36aaa (patch)
tree664625915e844d0eaca8c0388722445fb45e9fac
parent3ae26e43fd39a1caf06ad73bd00759422217807e (diff)
downloadurpmi-3aa8854562c4cf65db0d80601371cb7298d36aaa.tar
urpmi-3aa8854562c4cf65db0d80601371cb7298d36aaa.tar.gz
urpmi-3aa8854562c4cf65db0d80601371cb7298d36aaa.tar.bz2
urpmi-3aa8854562c4cf65db0d80601371cb7298d36aaa.tar.xz
urpmi-3aa8854562c4cf65db0d80601371cb7298d36aaa.zip
more whitespace cleanup
-rw-r--r--urpmi.bash-completion8
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