bitlylink run in background

pull/129/head
Botspot 4 years ago
parent 4669391857
commit 06f04c8d49

@ -20,6 +20,6 @@ if [ "$(cat "${DIRECTORY}/data/settings/Enable analytics")" == 'Yes' ];then
#Allowing analytics does not identify you, or any personal information about you. Botspot can only see the total number of "clicks", as well as the top 3 countries of origin.
bitlylink="https://bit.ly/pi-apps-$trigger-$(echo "$app" | tr -d ' ' | sed 's/[^a-zA-Z0-9]//g')"
curl -L --user-agent "Pi-Apps Raspberry Pi app store" "$bitlylink" &>/dev/null
curl -L --user-agent "Pi-Apps Raspberry Pi app store" "$bitlylink" &>/dev/null &
#echo "clicked $bitlylink" 1>&2
fi

Loading…
Cancel
Save