Skip to content

Commit

Permalink
Rearrange opt-out language based on user observation
Browse files Browse the repository at this point in the history
  • Loading branch information
hsoerensen committed Feb 15, 2024
1 parent a3ad47a commit 8f76103
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -509,12 +509,14 @@ set_telemetry_name() {
echo "If you wish to opt-in to telemetry sharing, you can provide a telemetry name below."
echo "We'll add 'VOI:' at the start to show you're using this package."
echo ""
echo "To skip telemetry sharing, type 'opt-out' below."
echo ""
echo "Visit https://voinetwork.github.io/voi-swarm/getting-started/telemetry/ to learn how to set your own custom name."
echo ""
echo "To skip telemetry sharing, type 'continue' below."
echo "Enter your telemetry name below to get started."
# shellcheck disable=SC2162
read -p "Telemetry name: " VOINETWORK_TELEMETRY_NAME
if [[ ${VOINETWORK_TELEMETRY_NAME} == "continue" ]]; then
if [[ ${VOINETWORK_TELEMETRY_NAME} == "opt-out" ]]; then
unset VOINETWORK_TELEMETRY_NAME
return
else
Expand Down

0 comments on commit 8f76103

Please sign in to comment.