Add checking for rsync dependency

master
shark 5 years ago
parent 7959be7d20
commit 9d3b54d05e

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