network/iojs: Updated for version 3.1.0.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
parent
ce1eb7081f
commit
9ca306ceb8
|
@ -25,7 +25,7 @@
|
|||
# not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
PRGNAM=iojs
|
||||
VERSION=${VERSION:-3.0.0}
|
||||
VERSION=${VERSION:-3.1.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="iojs"
|
||||
VERSION="3.0.0"
|
||||
VERSION="3.1.0"
|
||||
HOMEPAGE="https://iojs.org/"
|
||||
DOWNLOAD="https://iojs.org/dist/v3.0.0/iojs-v3.0.0.tar.xz"
|
||||
MD5SUM="07814de7acf29bf1d2cf84a1b247ce1b"
|
||||
DOWNLOAD="https://iojs.org/dist/v3.1.0/iojs-v3.1.0.tar.xz"
|
||||
MD5SUM="0bd4a7724ee2177a619b502bf38086e2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -7,17 +7,21 @@
|
|||
# Or, maybe: npm completion > /usr/local/etc/bash_completion.d/npm
|
||||
#
|
||||
|
||||
COMP_WORDBREAKS=${COMP_WORDBREAKS/=/}
|
||||
COMP_WORDBREAKS=${COMP_WORDBREAKS/@/}
|
||||
export COMP_WORDBREAKS
|
||||
|
||||
if type complete &>/dev/null; then
|
||||
_npm_completion () {
|
||||
local words cword
|
||||
if type _get_comp_words_by_ref &>/dev/null; then
|
||||
_get_comp_words_by_ref -n = -n @ -w words -i cword
|
||||
else
|
||||
cword="$COMP_CWORD"
|
||||
words=("${COMP_WORDS[@]}")
|
||||
fi
|
||||
|
||||
local si="$IFS"
|
||||
IFS=$'\n' COMPREPLY=($(COMP_CWORD="$COMP_CWORD" \
|
||||
IFS=$'\n' COMPREPLY=($(COMP_CWORD="$cword" \
|
||||
COMP_LINE="$COMP_LINE" \
|
||||
COMP_POINT="$COMP_POINT" \
|
||||
npm completion -- "${COMP_WORDS[@]}" \
|
||||
npm completion -- "${words[@]}" \
|
||||
2>/dev/null)) || return $?
|
||||
IFS="$si"
|
||||
}
|
||||
|
@ -52,3 +56,4 @@ elif type compctl &>/dev/null; then
|
|||
compctl -K _npm_completion npm
|
||||
fi
|
||||
###-end-npm-completion-###
|
||||
|
||||
|
|
Loading…
Reference in New Issue