[Title] add categories to install script
authormunkyu.im <munkyu.im@samsung.com>
Sat, 26 Nov 2011 02:00:15 +0000 (11:00 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Sat, 26 Nov 2011 02:00:15 +0000 (11:00 +0900)
[Type]      // Commit Type: Feature / Bugfix / Enhancement
[Module]    // Module Name - (Main / Sub)
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

SLP/package/install

index 754426c..f0b1429 100755 (executable)
@@ -4,6 +4,21 @@
 currentPath=`pwd`
 desktoppath=~/.local/share/applications
 
+UBUNTU_VER=`awk 'BEGIN {FS="="}; /DISTRIB_RELEASE.*/ {print $2}' /etc/lsb-release`
+case ${UBUNTU_VER} in
+       11.04)
+               categories="Tizen SDK;Development"
+               ;;
+       11.10)
+               categories="Tizen SDK;Development"
+               ;;
+       *)
+               categories="Tizen SDK"
+               ;;
+esac
+
+
+
 ## vtm shortcut
 vtm_desktopfile=$desktoppath/tizen-sdk-vtm.desktop
 vtm_iconfile=vtm.ico