summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorho.namkoong <ho.namkoong@samsung.com>2013-12-18 13:13:02 +0900
committerho.namkoong <ho.namkoong@samsung.com>2013-12-18 13:13:02 +0900
commitbcca764d65787e62686bc2554a23f3c835cdff49 (patch)
tree9b2a9247322fec7826ba0c13203185cc65e0fa15
parentbd14f66bbb275dc4a27dbc6845b95b03aa36dd55 (diff)
downloadsdb-bcca764d65787e62686bc2554a23f3c835cdff49.tar.gz
sdb-bcca764d65787e62686bc2554a23f3c835cdff49.tar.bz2
sdb-bcca764d65787e62686bc2554a23f3c835cdff49.zip
SDB: pkg version up 2.2.40
Add sdb link in /usr/bin/sdb for autocomplete Change-Id: Ida8c93637e6c3947454b6d486cfc49e97b718619
-rw-r--r--package/changelog3
-rw-r--r--package/pkginfo.manifest2
-rwxr-xr-xpackage/sdb.install.linux3
-rwxr-xr-xpackage/sdb.remove.linux2
-rw-r--r--src/common_modules.h2
5 files changed, 9 insertions, 3 deletions
diff --git a/package/changelog b/package/changelog
index 6008473..69cd348 100644
--- a/package/changelog
+++ b/package/changelog
@@ -1,3 +1,6 @@
+* 2.2.40
+- add sdb link in /usr/bin/sdb for autocomplete
+== ho.namkoong <ho.namkoong@samsung.com> 2013-12-18
* 2.2.39
- fix uninstall script for sdb autocomplete
== ho.namkoong <ho.namkoong@samsung.com> 2013-12-17
diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest
index 654273d..b2c4f36 100644
--- a/package/pkginfo.manifest
+++ b/package/pkginfo.manifest
@@ -1,4 +1,4 @@
-Version:2.2.39
+Version:2.2.40
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 1c8bae5..dfc6c31 100755
--- a/package/sdb.install.linux
+++ b/package/sdb.install.linux
@@ -3,8 +3,11 @@
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}
+SDB_NAME=sdb
+SDB_PATH=${INSTALLED_PATH}/tools/${SDB_NAME}
gksudo "mv -f ${SDB_AC_SRC_PATH} ${SDB_AC_DST_PATH}"
+gksudo "ln -sf ${SDB_PATH} /usr/bin/sdb"
# . /etc/bash_completion
diff --git a/package/sdb.remove.linux b/package/sdb.remove.linux
index 0360863..345fcac 100755
--- a/package/sdb.remove.linux
+++ b/package/sdb.remove.linux
@@ -5,7 +5,7 @@ SDB_AC_NAME=sdb-autocomplete
SDB_AC_DST_PATH=/etc/bash_completion.d/${SDB_AC_NAME}
rm -rf ${INSTALLED_PATH}/${SDB_PATH}
-gksudo "rm -rf ${SDB_AC_DST_PATH}"
+gksudo "rm -rf ${SDB_AC_DST_PATH} /usr/bin/sdb"
exit 0
diff --git a/src/common_modules.h b/src/common_modules.h
index 06f0a61..cdd42b7 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 39 // increments for small sets of changes
+#define SDB_VERSION_PATCH 40 // increments for small sets of changes
#define SDB_VERSION_MAX_LENGTH 128
extern MAP hex_map;