- new urpmi update from Guillaume Rousse <rousse@ccr.jussieu.fr>
This commit is contained in:
parent
4833af92d0
commit
d05a06c0dd
@ -1,6 +1,6 @@
|
|||||||
# bash_completion - some programmable completion functions for bash 2.05b
|
# bash_completion - some programmable completion functions for bash 2.05b
|
||||||
#
|
#
|
||||||
# $Id: bash_completion,v 1.581 2003/06/18 00:18:30 ianmacd Exp $
|
# $Id: bash_completion,v 1.582 2003/06/23 15:39:59 ianmacd Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||||
#
|
#
|
||||||
@ -3498,7 +3498,7 @@ _urpmi_media()
|
|||||||
local IFS=$'\t\n'
|
local IFS=$'\t\n'
|
||||||
# return list of available media
|
# return list of available media
|
||||||
COMPREPLY=( $( awk '/{/ {print $0}' /etc/urpmi/urpmi.cfg 2>/dev/null \
|
COMPREPLY=( $( awk '/{/ {print $0}' /etc/urpmi/urpmi.cfg 2>/dev/null \
|
||||||
| sed -e "s/\( \(file\|removable\|ftp\|http\|rsync\):\/\/.*\)\? {$//"\
|
| sed -e "s/\( \(file\|removable\|ftp\|http\|rsync\|ssh\):\/\/.*\)\? {$//"\
|
||||||
| grep "^${cur//\\\\/\\\\}" ) )
|
| grep "^${cur//\\\\/\\\\}" ) )
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3706,7 +3706,8 @@ _urpmi_addmedia()
|
|||||||
2)
|
2)
|
||||||
# return list of available protocols
|
# return list of available protocols
|
||||||
COMPREPLY=( $( compgen -W 'file:// http:// \
|
COMPREPLY=( $( compgen -W 'file:// http:// \
|
||||||
ftp:// removable://' -- $cur ) )
|
ftp:// removable:// ssh:// \
|
||||||
|
rsync://' -- $cur ) )
|
||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
# return word "with"
|
# return word "with"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user