mirror of
https://github.com/fluencelabs/node-distro
synced 2024-12-12 18:55:33 +00:00
af31412d6f
* Prepare for multiarch * Fix * Fix * Fix * Move some code to scripts * Cleanup * Run chmod * Typo * Fix * Fixes * Typo * Install npm * Fix * Cleanup * Fix * Fix? * Updates
13 lines
328 B
Bash
Executable File
13 lines
328 B
Bash
Executable File
#! /usr/bin/env sh
|
|
|
|
case "$TARGETPLATFORM" in
|
|
'linux/amd64')
|
|
ARCHIVE="fs-repo-migrations_v2.0.2_linux-amd64.tar.gz"
|
|
;;
|
|
'linux/arm64')
|
|
ARCHIVE="fs-repo-migrations_v2.0.2_linux-arm64.tar.gz"
|
|
;;
|
|
esac
|
|
|
|
wget -qO - "https://dist.ipfs.io/fs-repo-migrations/v2.0.2/$ARCHIVE" | tar -C /usr/local/bin --strip-components=1 -zxvf -
|