Use overwrite option during unzip (#101)

This commit is contained in:
Ryan Dahl 2020-04-02 00:36:46 -04:00 committed by GitHub
parent b635b52584
commit f163b0286f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ fi
curl --fail --location --progress-bar --output "$exe.zip" "$deno_uri"
cd "$bin_dir"
unzip "$exe.zip"
unzip -o "$exe.zip"
chmod +x "$exe"
rm "$exe.zip"