summaryrefslogtreecommitdiffstats
path: root/urpmi.bash-completion
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-11 16:25:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-11 16:25:18 +0000
commit57ce115d84224fe8dd75f19490f788fe8acf198c (patch)
treeb66cbe8793ca5291d0e7ea7f73bba593296fe949 /urpmi.bash-completion
parentf0c0ba3c176af4afd6659f532541043c7143e0e8 (diff)
downloadurpmi-57ce115d84224fe8dd75f19490f788fe8acf198c.tar
urpmi-57ce115d84224fe8dd75f19490f788fe8acf198c.tar.gz
urpmi-57ce115d84224fe8dd75f19490f788fe8acf198c.tar.bz2
urpmi-57ce115d84224fe8dd75f19490f788fe8acf198c.tar.xz
urpmi-57ce115d84224fe8dd75f19490f788fe8acf198c.zip
- urpmi
o handle preferred choices (through --prefer, /etc/urpmi/prefer.list and /etc/urpmi/prefer.vendor.list)
Diffstat (limited to 'urpmi.bash-completion')
-rw-r--r--urpmi.bash-completion3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 8c93fd86..90a584d7 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -104,7 +104,7 @@ _urpmi()
--excludedocs --searchmedia --ignoresize --ignorearch \
--strict-arch --wget-options --curl-options \
--prozilla-options --rsync-options --resume --retry \
- --skip --nolock --more-choices"
+ --skip --prefer --nolock --more-choices"
# add dangereous option for everything else as rurpmi
if [[ ${COMP_WORDS[0]} != *rurpmi ]]; then
options="$options --root --use-distrib --env \
@@ -184,6 +184,7 @@ _urpmq()
--src --sources --force --parallel --wget --curl --prozilla \
--changelog --proxy --proxy-user --env --dump-config \
--whatprovides --whatrequires --whatrequires-recursive \
+ --skip --prefer \
--use-distrib --searchmedia --ignorearch" -- $cur))
else
# return available packages (unless it is clearly a file) and rpm files