mirror of
https://github.com/casjaysdevdocker/deno
synced 2025-01-18 12:34:21 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
3c4f010df0
commit
c050b97eca
@ -44,13 +44,13 @@ echo "$message"
|
|||||||
if curl -q -LSsf -o "$FILE" "$URL"; then
|
if curl -q -LSsf -o "$FILE" "$URL"; then
|
||||||
mkdir -p "$TMP_DIR" && cd "$TMP_DIR" || exit 10
|
mkdir -p "$TMP_DIR" && cd "$TMP_DIR" || exit 10
|
||||||
unzip "$FILE"
|
unzip "$FILE"
|
||||||
mv -fv "$TMP_DIR" "$BIN_FILE"
|
mv -fv "$TMP_DIR/deno" "$BIN_FILE"
|
||||||
chmod -Rf 755 "$BIN_FILE"
|
chmod -Rf 755 "$BIN_FILE"
|
||||||
else
|
else
|
||||||
echo "$err_mess"
|
echo "$err_mess"
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
rm -Rf "$FILE" "$TMP_DIR"
|
#rm -Rf "$FILE" "$TMP_DIR"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
[ -f "$(which "deno")" ] && deno upgrade && exit 0 || exit 10
|
[ -f "$(which "deno")" ] && deno upgrade && exit 0 || exit 10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user