qtmobility/plugins/contacts/qtcontacts-tracker/tests/ut_qtcontacts_trackerplugin/ut_qtcontacts_trackerplugin_data/updateTpStatus.sparql
changeset 4 90517678cc4f
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
       
     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 "