|
|
@ -11,7 +11,7 @@ git clone https://github.com/bedrocklinux/bedrocklinux-userland
|
|
|
|
cd bedrocklinux-userland
|
|
|
|
cd bedrocklinux-userland
|
|
|
|
git checkout 0.7 -q
|
|
|
|
git checkout 0.7 -q
|
|
|
|
current_version="$(awk '{print$3}' </bedrock/etc/bedrock-release)"
|
|
|
|
current_version="$(awk '{print$3}' </bedrock/etc/bedrock-release)"
|
|
|
|
newest_version=$(awk -F= '/^VERSION=/{print$2}' Makefile | sed 's/[a-z].*$//')-git-$(git log | grep -c "^commit")
|
|
|
|
newest_version=$(awk -F= '/^VERSION=/{print$2}' Makefile | sed 's/[a-z].*$//')git$(git log | grep -c "^commit")
|
|
|
|
echo "Current Version: ${current_version}"
|
|
|
|
echo "Current Version: ${current_version}"
|
|
|
|
echo "Newest Version: ${newest_version}"
|
|
|
|
echo "Newest Version: ${newest_version}"
|
|
|
|
if ver_cmp_first_newer ${current_version} ${newest_version}; then
|
|
|
|
if ver_cmp_first_newer ${current_version} ${newest_version}; then
|
|
|
|