From c050b97ecad0377e75dcf94e35cfa6281a004806 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 12 Oct 2022 19:45:46 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/get-deno.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/get-deno.sh b/bin/get-deno.sh index 4ae3ddf..bb475da 100755 --- a/bin/get-deno.sh +++ b/bin/get-deno.sh @@ -44,13 +44,13 @@ echo "$message" if curl -q -LSsf -o "$FILE" "$URL"; then mkdir -p "$TMP_DIR" && cd "$TMP_DIR" || exit 10 unzip "$FILE" - mv -fv "$TMP_DIR" "$BIN_FILE" + mv -fv "$TMP_DIR/deno" "$BIN_FILE" chmod -Rf 755 "$BIN_FILE" else echo "$err_mess" exit 2 fi # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -rm -Rf "$FILE" "$TMP_DIR" +#rm -Rf "$FILE" "$TMP_DIR" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ -f "$(which "deno")" ] && deno upgrade && exit 0 || exit 10