summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorho.namkoong <ho.namkoong@samsung.com>2013-12-17 14:09:16 +0900
committerho.namkoong <ho.namkoong@samsung.com>2013-12-17 14:12:00 +0900
commitddddf1850a16f3c97b604ec3a9d10d8f6d89e7f4 (patch)
tree207fd67dd42abde67c40ecc9977c84f6a9f5c6dc
parent30d4a2b236be7c4edfac044eeef8d6719a82c734 (diff)
downloadsdb-ddddf1850a16f3c97b604ec3a9d10d8f6d89e7f4.tar.gz
sdb-ddddf1850a16f3c97b604ec3a9d10d8f6d89e7f4.tar.bz2
sdb-ddddf1850a16f3c97b604ec3a9d10d8f6d89e7f4.zip
SDB: pkg version up 2.2.38
fix sdb install script for autocomplete Change-Id: I09703005c67b245fb05ba8238f585e23ca3d9a79 Signed-off-by: ho.namkoong <ho.namkoong@samsung.com>
-rwxr-xr-xpackage/build.linux2
-rw-r--r--package/changelog3
-rw-r--r--package/pkginfo.manifest2
-rwxr-xr-xpackage/sdb.install.linux2
-rwxr-xr-xpackage/sdb.remove.linux5
-rw-r--r--src/common_modules.h2
6 files changed, 11 insertions, 5 deletions
diff --git a/package/build.linux b/package/build.linux
index 10c5654..de7b2be 100755
--- a/package/build.linux
+++ b/package/build.linux
@@ -66,7 +66,7 @@ install()
then
mkdir -p ${INSTALL_DIR}/data/tools
cp ${SRCDIR}/bin/* ${INSTALL_DIR}/data/tools/
-# cp -f ${SRCDIR}/package/sdb-autocomplete ${INSTALL_DIR}/data/tools/
+ cp -f ${SRCDIR}/package/sdb-autocomplete ${INSTALL_DIR}/data/tools/
fi
fi
done
diff --git a/package/changelog b/package/changelog
index 663645f..9f222b2 100644
--- a/package/changelog
+++ b/package/changelog
@@ -1,3 +1,6 @@
+* 2.2.38
+- fix install script for sdb autocomplete
+== ho.namkoong <ho.namkoong@samsung.com> 2013-12-17
* 2.2.37
- block sdb autocomplete
== ho.namkoong <ho.namkoong@samsung.com> 2013-12-17
diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest
index 6b1a21f..a89cba6 100644
--- a/package/pkginfo.manifest
+++ b/package/pkginfo.manifest
@@ -1,4 +1,4 @@
-Version:2.2.37
+Version:2.2.38
Source:sdb
Maintainer:Kangho Kim <kh5325.kim@samsung.com>, Yoonki Park<yoonki.park@samsung.com>, Hyunsik Noh<hyunsik.noh@samsung.com>, Gun Kim<gune.kim@samsung.com>, Ho Namkoong<ho.namkoong@samsung.com>, Taeyoung Son<taeyoung2.son@samsung.com>
diff --git a/package/sdb.install.linux b/package/sdb.install.linux
index 7907d32..1c8bae5 100755
--- a/package/sdb.install.linux
+++ b/package/sdb.install.linux
@@ -4,7 +4,7 @@ SDB_AC_NAME=sdb-autocomplete
SDB_AC_SRC_PATH=${INSTALLED_PATH}/tools/${SDB_AC_NAME}
SDB_AC_DST_PATH=/etc/bash_completion.d/${SDB_AC_NAME}
-# gksudo "mv -f ${SDB_AC_SRC_PATH} ${SDB_AC_DST_PATH}"
+gksudo "mv -f ${SDB_AC_SRC_PATH} ${SDB_AC_DST_PATH}"
# . /etc/bash_completion
diff --git a/package/sdb.remove.linux b/package/sdb.remove.linux
index 009d59a..48191d2 100755
--- a/package/sdb.remove.linux
+++ b/package/sdb.remove.linux
@@ -1,9 +1,12 @@
#!/bin/bash -ex
SDB_PATH=tools/sdb
${INSTALLED_PATH}/${SDB_PATH} kill-server
+SDB_AC_NAME=sdb-autocomplete
+SDB_AC_DST_PATH=/etc/bash_completion.d/${SDB_AC_NAME}
rm -rf ${INSTALLED_PATH}/${SDB_PATH}
-#complete -r _sdb sdb
+gksudo "rm -rf ${SDB_AC_DST_PATH}"
+complete -r _sdb sdb
exit 0
diff --git a/src/common_modules.h b/src/common_modules.h
index 0d9b8ac..0115d98 100644
--- a/src/common_modules.h
+++ b/src/common_modules.h
@@ -39,7 +39,7 @@
#define A_VERSION 0x0100000
#define SDB_VERSION_MAJOR 2 // increments upon significant architectural changes or the achievement of important milestones
#define SDB_VERSION_MINOR 2 // progress is made within a major version
-#define SDB_VERSION_PATCH 37 // increments for small sets of changes
+#define SDB_VERSION_PATCH 38 // increments for small sets of changes
#define SDB_VERSION_MAX_LENGTH 128
extern MAP hex_map;