In master, there is a track function that is its own bash script. In
v10.0 this needs to be added to the installer source code directly
Change-Id: I81b001439b157671a27be0faf723dde5f755dc1d
Signed-off-by: beierlm <mark.beierl@canonical.com>
}
fi
+function track(){
+ ctime=`date +%s`
+ duration=$((ctime - SESSION_ID))
+ url="http://www.woopra.com/track/ce?project=osm.etsi.org&cookie=${SESSION_ID}"
+ event_name="bin"
+ event_name="${event_name}_$1"
+ url="${url}&event=${event_name}&ce_duration=${duration}"
+ wget -q -O /dev/null $url
+}
+
+function FATAL_TRACK(){
+ track
+ exit 1
+}
+
MODEL_NAME=osm