mirror of
https://github.com/jorgebucaran/fisher
synced 2024-07-02 23:11:48 +02:00
style: improve package fetch error message
This commit is contained in:
parent
44ec48b472
commit
da792f6887
|
@ -234,11 +234,11 @@ function _fisher_pkg_fetch_all
|
||||||
command mkdir -p \"$fisher_cache/$pkg\"
|
command mkdir -p \"$fisher_cache/$pkg\"
|
||||||
command cp -Rf \"$fisher_config/$pkg\" \"$fisher_cache/$pkg/..\"
|
command cp -Rf \"$fisher_config/$pkg\" \"$fisher_cache/$pkg/..\"
|
||||||
else if test -d \"$fisher_cache/$pkg\"
|
else if test -d \"$fisher_cache/$pkg\"
|
||||||
echo cannot connect to server -- using data from \"$fisher_cache/$pkg\" | command sed 's|$HOME|~|' >&2
|
echo cannot connect to server -- searching in \"$fisher_cache/$pkg\" | command sed 's|$HOME|~|' >&2
|
||||||
command cp -Rf \"$fisher_cache/$pkg\" \"$fisher_config/$pkg/..\"
|
command cp -Rf \"$fisher_cache/$pkg\" \"$fisher_config/$pkg/..\"
|
||||||
else
|
else
|
||||||
command rm -rf \"$fisher_config/$pkg\"
|
command rm -rf \"$fisher_config/$pkg\"
|
||||||
echo cannot install \"$pkg\" -- are you offline\? >&2
|
echo cannot install \"$pkg\" -- is this a valid package\? >&2
|
||||||
end
|
end
|
||||||
" >/dev/null &
|
" >/dev/null &
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue