cloudron-setup: copy edition license
This commit is contained in:
@@ -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 "."
|
||||
|
||||
Reference in New Issue
Block a user