5 echo "*********************************************************************************"
6 echo " post install script run..."
7 echo "*********************************************************************************"
8 echo "executing oma agent unit test binary."
10 OMA_TEST_BIN="/usr/bin/oma-test"
11 if [ ! -e "$OMA_TEST_BIN" ]
13 echo " oma-agent test binary missing. (check debian package is in release mode)"
18 echo "*********************************************************************************"
19 echo " oma agent unit test run..."
20 echo "*********************************************************************************"
24 echo "deleting vconf value"
25 if [ -d /opt/var/kdb/db/syncml-service/DS/Accounts ]
27 rm -rf /opt/var/kdb/db/syncml-service/DS/Accounts
30 if [ -d /opt/var/kdb/db/Apps/AgentFramework ]
32 rm -rf /opt/var/kdb/db/Apps/AgentFramework
35 echo "deleting db files"
36 if [ -f /opt/dbspace/.omasyncagent.db ]
38 rm -rf /opt/dbspace/.omasyncagent.db
41 if [ -f /opt/dbspace/.omasyncagent.db-journal ]
43 rm -rf /opt/dbspace/.omasyncagent.db-journal