Remove temporary file

master
Cole Deck 5 years ago
parent a293ddf422
commit ed880c10f7

@ -1,16 +0,0 @@
. /bedrock/share/common-code
export update_url="https://git.cdeck.dev/shark/bedrock-git/raw/branch/master/bedrock-linux-99.99.99-x86_64.sh"
if ! echo "${update_url}" | grep -q "^http"; then
continue
fi
arch="$(echo "${update_url}" | awk -F'[-.]' '{print $(NF-1)}')"
echo "Arch: ${arch}"
#if [ "${arch}" != "${system_arch}" ]; then
#fi
version="$(echo "${update_url}" | awk -F'-' '{print $(NF-1)}')"
echo "Version: ${version}"
if ver_cmp_first_newer "${version}" "0.7.6"; then
newest_version="${version}"
newest_update_url="${update_url}"
echo "URL: ${update_url}"
fi
Loading…
Cancel
Save