Add checking for rsync dependency

master
shark 5 years ago
parent 7959be7d20
commit 9d3b54d05e

@ -27,6 +27,7 @@ else
exit_success
fi
fi
if brl which rsync 2>&1 > /dev/null; then
make SKIPSIGN=true -j $(nproc) BEDROCK_VERSION="${newest_version}"
/bedrock/libexec/busybox sh "bedrock-linux-${newest_version}-$(uname -m).sh" --force-update
echo "Syncing to disk..."
@ -34,3 +35,6 @@ sync
#echo "If there were no errors up to this point, then everything has gone smoothly. Ignore any following errors!"
echo "Done!"
exit_success
else
abort "Rsync must be installed!"
fi
Loading…
Cancel
Save