qtmobility/plugins/contacts/qtcontacts-tracker/tests/ut_qtcontacts_trackerplugin/ut_qtcontacts_trackerplugin_data/updateTpStatus.sparql
equal
deleted
inserted
replaced
|
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 " |