[yum-commits] Branch 'yum-3_2_X' - etc/yum.bash
Ville Skyttä
scop at osuosl.org
Fri Mar 26 18:44:54 UTC 2010
etc/yum.bash | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit e0175dae0b4eb45f4c2b14f816f1145553ef0e1b
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Fri Mar 26 20:44:37 2010 +0200
Add distro-sync completion.
diff --git a/etc/yum.bash b/etc/yum.bash
index 5dfdb64..c71344e 100644
--- a/etc/yum.bash
+++ b/etc/yum.bash
@@ -82,12 +82,12 @@ _yum()
local cmds=( check check-update clean deplist downgrade groupinfo
groupinstall grouplist groupremove help history info install list
localinstall makecache provides reinstall remove repolist resolvedep
- search shell update upgrade version )
+ search shell update upgrade version distro-sync )
local i c cmd
for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )) ; do
for c in ${cmds[@]} check-rpmdb erase groupupdate grouperase \
- whatprovides ; do
+ whatprovides distribution-synchronization ; do
[ ${COMP_WORDS[i]} = $c ] && cmd=$c && break
done
[ -z $cmd ] || break
@@ -132,7 +132,7 @@ _yum()
return 0
;;
- erase|remove)
+ erase|remove|distro-sync|distribution-synchronization)
_yum_list installed "$cur"
return 0
;;
More information about the Yum-commits
mailing list