- install yum-arch completion only if we also have yum

This commit is contained in:
ianmacd 2004-02-09 21:06:01 +00:00
parent 05ce56be91
commit fd9735b8e6

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05b
#
# $Id: bash_completion,v 1.680 2004/02/09 22:02:48 ianmacd Exp $
# $Id: bash_completion,v 1.681 2004/02/09 22:06:01 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -5251,7 +5251,7 @@ _mc()
# yum(8) completion
#
have yum &&
have yum && {
_yum()
{
local cur prev special
@ -5333,6 +5333,7 @@ _yum_arch()
}
complete -F _yum_arch $filenames yum-arch
}
# ImageMagick completion
#