qtmobility/plugins/contacts/qtcontacts-tracker/tests/ut_qtcontacts_trackerplugin/ut_qtcontacts_trackerplugin_data/updateTpStatus.sparql
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
child 15 1f895d8a5b2b
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
     1 #!/bin/bash
       
     2 
       
     3 if [ -z "$1" ]; then
       
     4 echo "usage: $0 <IMAddress-uri> <imPresence>"
       
     5 exit 1
       
     6 fi
       
     7 tracker-sparql --update --query "
       
     8 DELETE { <$1> nco:imPresence ?status }
       
     9 WHERE { <$1> nco:imPresence ?status }
       
    10 INSERT { <$1> nco:imPresence $2 }
       
    11 "