|
|
|
@ -31,7 +31,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
echo $ARCH
|
|
|
|
|
|
|
|
|
|
curl -s https://api.github.com/repos/cupcakearmy/autorestic/releases/latest \
|
|
|
|
|
wget -qO - https://api.github.com/repos/cupcakearmy/autorestic/releases/latest \
|
|
|
|
|
| grep "browser_download_url.*_${OS}_${ARCH}" \
|
|
|
|
|
| cut -d : -f 2,3 \
|
|
|
|
|
| tr -d \" \
|
|
|
|
|