#!/bedrock/libexec/busybox sh . /bedrock/share/common-code echo "Fetching latest commits from repository..." if [ -d /bedrock/cache/bedrocklinux-userland ]; then #less_lethal_rm_rf /bedrock/cache/bedrocklinux-userland cd /bedrock/cache/bedrocklinux-userland make clean git pull else mkdir -p /bedrock/cache cd /bedrock/cache git clone https://github.com/bedrocklinux/bedrocklinux-userland cd bedrocklinux-userland fi current_version="$(awk '{print$3}'