remove expired futurerestore download link
This commit is contained in:
parent
c9a78025d6
commit
f3e958a331
1 changed files with 8 additions and 6 deletions
14
downr1n.sh
14
downr1n.sh
|
|
@ -596,13 +596,15 @@ check_and_install_package "pyliblzfse"
|
|||
if [ ! -e "$dir"/futurerestore ]; then
|
||||
printg "[*] Downloading futurerestore please wait..." # futurerestore downloader by sasa :)
|
||||
if [ "$os" = "Darwin" ]; then
|
||||
curl -sLo futurerestore-macOS-RELEASE.zip https://nightly.link/futurerestore/futurerestore/workflows/ci/main/futurerestore-macOS-RELEASE.zip
|
||||
unzip futurerestore-macOS-RELEASE.zip
|
||||
tar Jxfv futurerestore-*.xz
|
||||
# Expired link / artifact (Mac OS)
|
||||
# curl -sLo futurerestore-macOS-RELEASE.zip https://nightly.link/futurerestore/futurerestore/workflows/ci/main/futurerestore-macOS-RELEASE.zip
|
||||
# unzip futurerestore-macOS-RELEASE.zip
|
||||
# tar Jxfv futurerestore-*.xz
|
||||
else
|
||||
curl -sLo futurerestore-Linux-x86_64-RELEASE.zip https://nightly.link/futurerestore/futurerestore/workflows/ci/main/futurerestore-Linux-x86_64-RELEASE.zip
|
||||
unzip futurerestore-Linux-x86_64-RELEASE.zip
|
||||
tar Jxfv futurerestore-*.xz
|
||||
# Expired link / artifact (Linux)
|
||||
# curl -sLo futurerestore-Linux-x86_64-RELEASE.zip https://nightly.link/futurerestore/futurerestore/workflows/ci/main/futurerestore-Linux-x86_64-RELEASE.zip
|
||||
# unzip futurerestore-Linux-x86_64-RELEASE.zip
|
||||
# tar Jxfv futurerestore-*.xz
|
||||
fi
|
||||
mv futurerestore "$dir"/
|
||||
rm -rf futurerestore-*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue