diff options
-rw-r--r-- | include/desktop_to_db.h | 2 | ||||
-rw-r--r-- | packaging/menu-daemon.spec | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/desktop_to_db.h b/include/desktop_to_db.h index 1494272..05caa44 100644 --- a/include/desktop_to_db.h +++ b/include/desktop_to_db.h @@ -16,7 +16,7 @@ -#define APP_INFO_DB_FILE "/opt/dbspace/.app_info.db" + #define DESKTOP_FILE_PATH "/usr/share/install-info/application" #define ORDER_FILE_PATH "/usr/share/install-info/.order/order" diff --git a/packaging/menu-daemon.spec b/packaging/menu-daemon.spec index 894eb78..8ef1b98 100644 --- a/packaging/menu-daemon.spec +++ b/packaging/menu-daemon.spec @@ -31,6 +31,7 @@ BuildRequires: edje-bin BuildRequires: embryo-bin BuildRequires: eet-bin BuildRequires: gettext-tools +Requires(post): tizen-platform-config Requires(post): /usr/bin/vconftool %description @@ -52,8 +53,10 @@ chmod +x %{buildroot}/etc/init.d/menudaemon chmod +x %{buildroot}/etc/init.d/menudaemon.fast %post +source /etc/tizen-platform.conf +GID=$(getent group $TZ_SYS_USER_GROUP | cut -f 3 -d :) vconftool set -t string memory/menuscreen/desktop "0" -i -f -vconftool set -t int memory/idle-screen/is_idle_screen_launched "0" -i -u 5000 -f +vconftool set -t int memory/idle-screen/is_idle_screen_launched "0" -i -g $GID -f ln -sf /etc/init.d/menudaemon /etc/rc.d/rc3.d/S46menudaemon ln -sf /etc/init.d/menudaemon.fast /etc/rc.d/rc4.d/S85menudaemon |