mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2026-04-02 20:05:23 +00:00
feat(Install.sh): Updated install script to point to fork
This commit is contained in:
@@ -11,7 +11,7 @@ if [[ $NATIVE_OS == *"linux"* ]]; then
|
|||||||
elif [[ $NATIVE_OS == *"darwin"* ]]; then
|
elif [[ $NATIVE_OS == *"darwin"* ]]; then
|
||||||
OS=darwin
|
OS=darwin
|
||||||
else
|
else
|
||||||
echo "Could not determine OS automatically, please check the release page manually: https://github.com/cupcakearmy/autorestic/releases"
|
echo "Could not determine OS automatically, please check the release page manually: https://github.com/cseitz-forks/autorestic/releases"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo $OS
|
echo $OS
|
||||||
@@ -26,7 +26,7 @@ elif [[ $NATIVE_ARCH == *"x86"* ]]; then
|
|||||||
elif [[ $NATIVE_ARCH == *"armv7"* ]]; then
|
elif [[ $NATIVE_ARCH == *"armv7"* ]]; then
|
||||||
ARCH=arm
|
ARCH=arm
|
||||||
else
|
else
|
||||||
echo "Could not determine Architecure automatically, please check the release page manually: https://github.com/cupcakearmy/autorestic/releases"
|
echo "Could not determine Architecure automatically, please check the release page manually: https://github.com/cseitz-forks/autorestic/releases"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo $ARCH
|
echo $ARCH
|
||||||
@@ -36,7 +36,7 @@ if ! command -v bzip2 &>/dev/null; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -qO - https://api.github.com/repos/cupcakearmy/autorestic/releases/latest \
|
wget -qO - https://api.github.com/repos/cseitz-forks/autorestic/releases/latest \
|
||||||
| grep "browser_download_url.*_${OS}_${ARCH}" \
|
| grep "browser_download_url.*_${OS}_${ARCH}" \
|
||||||
| cut -d : -f 2,3 \
|
| cut -d : -f 2,3 \
|
||||||
| tr -d \" \
|
| tr -d \" \
|
||||||
|
|||||||
Reference in New Issue
Block a user