Update install.sh
This commit is contained in:
parent
a4defd4b28
commit
e214d77326
|
|
@ -530,7 +530,6 @@ wait_for_containers_start 60
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
if [[ $status_code -ne 401 ]]; then
|
if [[ $status_code -ne 401 ]]; then
|
||||||
|
|
||||||
echo "+++++++++++ ERROR ++++++++++++++++++++++"
|
echo "+++++++++++ ERROR ++++++++++++++++++++++"
|
||||||
echo "The containers didn't seem to start correctly. Please run the following command to check containers that may have errored out:"
|
echo "The containers didn't seem to start correctly. Please run the following command to check containers that may have errored out:"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
@ -538,7 +537,7 @@ if [[ $status_code -ne 401 ]]; then
|
||||||
echo "For troubleshooting help, please reach out to us via our Discord server: https://discord.com/invite/rBTTVJp"
|
echo "For troubleshooting help, please reach out to us via our Discord server: https://discord.com/invite/rBTTVJp"
|
||||||
echo "++++++++++++++++++++++++++++++++++++++++"
|
echo "++++++++++++++++++++++++++++++++++++++++"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Share your email so we can help you with the installation"
|
echo "Please share your email to receive help with the installation"
|
||||||
read -rp 'Email: ' email
|
read -rp 'Email: ' email
|
||||||
curl -s -O --location --request POST 'https://api.segment.io/v1/track' \
|
curl -s -O --location --request POST 'https://api.segment.io/v1/track' \
|
||||||
--header 'Authorization: Basic QjJaM3hXRThXdDRwYnZOWDRORnJPNWZ3VXdnYWtFbk06' \
|
--header 'Authorization: Basic QjJaM3hXRThXdDRwYnZOWDRORnJPNWZ3VXdnYWtFbk06' \
|
||||||
|
|
@ -551,6 +550,16 @@ if [[ $status_code -ne 401 ]]; then
|
||||||
}
|
}
|
||||||
}'
|
}'
|
||||||
else
|
else
|
||||||
|
curl -s -O --location --request POST 'https://api.segment.io/v1/track' \
|
||||||
|
--header 'Authorization: Basic QjJaM3hXRThXdDRwYnZOWDRORnJPNWZ3VXdnYWtFbk06' \
|
||||||
|
--header 'Content-Type: application/json' \
|
||||||
|
--data-raw '{
|
||||||
|
"anonymousId": "anonymousId",
|
||||||
|
"event": "Installation Success",
|
||||||
|
"properties": {
|
||||||
|
"osEnum": '$desired_os'
|
||||||
|
}
|
||||||
|
}'
|
||||||
echo "+++++++++++ SUCCESS ++++++++++++++++++++++++++++++"
|
echo "+++++++++++ SUCCESS ++++++++++++++++++++++++++++++"
|
||||||
echo "Your installation is complete!"
|
echo "Your installation is complete!"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
@ -564,14 +573,14 @@ else
|
||||||
echo ""
|
echo ""
|
||||||
echo "Need help Getting Started?"
|
echo "Need help Getting Started?"
|
||||||
echo "Join our Discord server https://discord.com/invite/rBTTVJp"
|
echo "Join our Discord server https://discord.com/invite/rBTTVJp"
|
||||||
echo "Share your email to receive support & updates"
|
echo "Please share your email to receive support & updates about appsmith!"
|
||||||
read -rp 'Email: ' email
|
read -rp 'Email: ' email
|
||||||
curl -s -O --location --request POST 'https://api.segment.io/v1/track' \
|
curl -s -O --location --request POST 'https://api.segment.io/v1/track' \
|
||||||
--header 'Authorization: Basic QjJaM3hXRThXdDRwYnZOWDRORnJPNWZ3VXdnYWtFbk06' \
|
--header 'Authorization: Basic QjJaM3hXRThXdDRwYnZOWDRORnJPNWZ3VXdnYWtFbk06' \
|
||||||
--header 'Content-Type: application/json' \
|
--header 'Content-Type: application/json' \
|
||||||
--data-raw '{
|
--data-raw '{
|
||||||
"anonymousId": "'"$email"'",
|
"userId": "'"$email"'",
|
||||||
"event": "Installation Success",
|
"event": "Identify Successful Installation",
|
||||||
"properties": {
|
"properties": {
|
||||||
"osEnum": '$desired_os'
|
"osEnum": '$desired_os'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user