|
|
@ -19,7 +19,7 @@ function install { |
|
|
grep '"name":' | |
|
|
grep '"name":' | |
|
|
cut -d '"' -f4 |
|
|
cut -d '"' -f4 |
|
|
) |
|
|
) |
|
|
echo "deploying release=$release in process..." |
|
|
|
|
|
|
|
|
echo "deploying release=$release in progress..." |
|
|
|
|
|
|
|
|
local tempfile='/tmp/miaou-bash-latest.tar.gz' |
|
|
local tempfile='/tmp/miaou-bash-latest.tar.gz' |
|
|
if curl -so "$tempfile" "${BASE_ARCHIVE_URL}/${release}.tar.gz"; then |
|
|
if curl -so "$tempfile" "${BASE_ARCHIVE_URL}/${release}.tar.gz"; then |
|
|
@ -58,7 +58,7 @@ function once_installed { |
|
|
function miaou_error { |
|
|
function miaou_error { |
|
|
>&2 echo -------------------------------------------------------------- |
|
|
>&2 echo -------------------------------------------------------------- |
|
|
>&2 echo "MIAOU_ERROR: $1" |
|
|
>&2 echo "MIAOU_ERROR: $1" |
|
|
>&2 echo "Either retry later when a newer version will come up," |
|
|
|
|
|
|
|
|
>&2 echo "Either retry later when a newer version will come up" |
|
|
>&2 echo "Or report the errorstack printed out above to: contact@artcode.re" |
|
|
>&2 echo "Or report the errorstack printed out above to: contact@artcode.re" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|