Update install.sh

This commit is contained in:
Nikhil Nandagopal 2020-09-08 11:37:31 +05:30 committed by GitHub
parent be2963061e
commit 83907b50b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -303,6 +303,16 @@ echo_contact_support() {
}
bye() { # Prints a friendly good bye message and exits the script.
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 Exited",
"properties": {
"osEnum": '$desired_os'
}
}'
echo -e "\nExiting for now. Bye! \U1F44B\n"
exit 1
}