summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2013-08-25 10:39:24 +0800
committerChengwei Yang <chengwei.yang@intel.com>2013-09-12 10:02:19 +0800
commit47e30b8e569328719424b1af9cd6c26b34f9d572 (patch)
tree506c1d0e362284001ba95268cae4c0aa58d88eb6 /debian/postinst
parenta4d0f0d5c860dd9ff35fb211bb5a8822de6da0ac (diff)
downloadoma-ds-agent-47e30b8e569328719424b1af9cd6c26b34f9d572.tar.gz
oma-ds-agent-47e30b8e569328719424b1af9cd6c26b34f9d572.tar.bz2
oma-ds-agent-47e30b8e569328719424b1af9cd6c26b34f9d572.zip
Change-Id: Id88c57fb7880eb3db45368cf0182d862965ae315 Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst45
1 files changed, 0 insertions, 45 deletions
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644
index 711fa30..0000000
--- a/debian/postinst
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-
-echo ""
-echo ""
-echo "*********************************************************************************"
-echo " post install script run..."
-echo "*********************************************************************************"
-echo "executing oma agent unit test binary."
-
-OMA_TEST_BIN="/usr/bin/oma-test"
-if [ ! -e "$OMA_TEST_BIN" ]
-then
- echo " oma-agent test binary missing. (check debian package is in release mode)"
-else
-
- echo ""
- echo ""
- echo "*********************************************************************************"
- echo " oma agent unit test run..."
- echo "*********************************************************************************"
- echo ""
- $OMA_TEST_BIN
-fi
-echo "create oma-ds directory"
-if [ ! -d /opt/data/oma-ds ]
-then
- mkdir /opt/data/oma-ds
-fi
-
-echo "deleting framework db files"
-if [ -d /usr/share/sync-agent-framework ]
-then
- rm -rf /usr/share/sync-agent-framework
-fi
-
-echo "deleting db files"
-if [ -f /opt/dbspace/.omasyncagent.db ]
-then
- rm -rf /opt/dbspace/.omasyncagent.db
-fi
-
-if [ -f /opt/dbspace/.omasyncagent.db-journal ]
-then
- rm -rf /opt/dbspace/.omasyncagent.db-journal
-fi