Add apt-get update to cloudron-setup

This was reported to be needed on some providers
to be able to install curl
This commit is contained in:
Johannes
2016-11-25 14:26:36 +01:00
parent d3109022b1
commit 61a41a10ce

View File

@@ -71,6 +71,12 @@ echo " Follow setup logs in a second terminal with:"
echo " $ tail -f ${LOG_FILE}"
echo ""
echo "=> Update package repositories ..."
if ! apt-get update &>> "${LOG_FILE}"; then
echo "Could not update package repositories"
exit 1
fi
echo "=> Installing setup dependencies ..."
if ! apt-get install curl -y &>> "${LOG_FILE}"; then
echo "Could not install curl"