Fix place of connection.json
[apps/agl-service-windowmanager.git] / deploy.sh
1 #!/bin/bash
2 cd build
3 source /opt/agl-sdk/6.0.0_toyota_special/environment-setup-aarch64-agl-linux
4 make package
5 if [ $? -eq 0 ]; then
6   scp package/windowmanager-service.wgt root@${1}:~
7   ssh root@${1} afm-util remove  windowmanager-service@0.1
8   ssh root@${1} afm-util install windowmanager-service.wgt
9   ssh root@${1} sync
10   ssh root@${1} reboot
11 fi