mirror of
https://seed.radicle.dev/rad:z371PVmDHdjJucejRoRYJcDEvD5pp.git
synced 2026-10-18 19:10:34 +08:00
install: Fix for macOS
This commit is contained in:
@@ -189,11 +189,11 @@ main() {
|
||||
|
||||
info "Detecting operating system..."
|
||||
TARGET=$(target)
|
||||
ARCHIVE="$(mktemp --directory)/radicle-$TARGET.tar.xz"
|
||||
ARCHIVE="$(mktemp -d)/radicle-$TARGET.tar.xz" # Nb. `-d` must be used on BSDs.
|
||||
URL="$(url "$TARGET")"
|
||||
|
||||
info "Downloading $URL..."
|
||||
curl --proto '=https' --tlsv1.2 -# -L "$URL" -o "$ARCHIVE"
|
||||
curl --proto '=https' --tlsv1.2 -# -L "$URL" -o "$ARCHIVE" # Nb. `--tlsv1.3` is not supported on macOS
|
||||
info "Downloading $URL.sig..."
|
||||
curl --proto '=https' --tlsv1.2 -# -L "$URL.sig" -o "$ARCHIVE.sig"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user