cloudron-setup: copy edition license

This commit is contained in:
Girish Ramakrishnan
2019-02-26 12:06:32 -08:00
parent 388ad077d6
commit c81b643cdf

View File

@@ -124,6 +124,11 @@ elif [[ \
exit 1
fi
if [[ -n "${edition}" && ! -f "LICENSE" ]]; then
echo "A LICENSE is required to use this edition. Please contact support@cloudron.io"
exit 1
fi
echo ""
echo "##############################################"
echo " Cloudron Setup (${requestedVersion:-latest})"
@@ -233,6 +238,8 @@ CONF_END
fi
fi
[[ -f LICENSE ]] && cp LICENSE /etc/cloudron/LICENSE
echo -n "=> Waiting for cloudron to be ready (this takes some time) ..."
while true; do
echo -n "."