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
6133585fd7
commit
6c928f9f46
@ -41,9 +41,13 @@ fi
|
|||||||
echo "grabbing deno $DENO_VERSION from $CHANNEL for $ARCH"
|
echo "grabbing deno $DENO_VERSION from $CHANNEL for $ARCH"
|
||||||
if curl -q -LSsf -o "$TMP_FILE" "$URL" && [ -f "$TMP_FILE" ]; then
|
if curl -q -LSsf -o "$TMP_FILE" "$URL" && [ -f "$TMP_FILE" ]; then
|
||||||
mkdir -p "$TMP_DIR" && cd "$TMP_DIR" || exit 10
|
mkdir -p "$TMP_DIR" && cd "$TMP_DIR" || exit 10
|
||||||
unzip "$TMP_FILE"
|
unzip -q "$TMP_FILE"
|
||||||
cp -Rf "$TMP_DIR/deno" "$BIN_FILE"
|
if [ -f "$TMP_DIR/deno" ]; then
|
||||||
chmod -Rf 755 "$BIN_FILE"
|
cp -Rf "$TMP_DIR/deno" "$BIN_FILE" && chmod -Rf 755 "$BIN_FILE" || exit 10
|
||||||
|
else
|
||||||
|
echo "Failed to extract deno from $TMP_FILE"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "Failed to download deno from $URL"
|
echo "Failed to download deno from $URL"
|
||||||
exitCode=2
|
exitCode=2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user