From 546283a3af0347e9fa4c26cda1c2b5c97726953e Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Tue, 1 Aug 2017 10:07:34 +0900 Subject: [PATCH] Revert "[Tizen] Fix resource package install issue" This reverts commit 480357dbda1845b090099851e20ed0b416b51df9. Change-Id: Ie73c061678582bbd976e224fc342a6ab087b6986 --- packaging/dali-toolkit.spec | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/packaging/dali-toolkit.spec b/packaging/dali-toolkit.spec index f1b981d..3529c80 100644 --- a/packaging/dali-toolkit.spec +++ b/packaging/dali-toolkit.spec @@ -232,19 +232,19 @@ popd %preun resources_480x800 pushd %{dali_toolkit_style_files} mv images ./480x800 -mv dali-toolkit-default-theme.json ./480x800 +mv *.json ./480x800 popd %preun resources_720x1280 pushd %{dali_toolkit_style_files} mv images ./720x1280 -mv dali-toolkit-default-theme.json ./720x1280 +mv *.json ./720x1280 popd %preun resources_1920x1080 pushd %{dali_toolkit_style_files} mv images ./1920x1080 -mv dali-toolkit-default-theme.json ./1920x1080 +mv *.json ./1920x1080 popd ############################## @@ -255,31 +255,19 @@ popd exit 0 %postun resources_480x800 -case "$1" in - 0) - pushd %{dali_toolkit_style_files} - rm -rf * - popd - ;; -esac +pushd %{dali_toolkit_style_files} +rm -rf * +popd %postun resources_720x1280 -case "$1" in - 0) - pushd %{dali_toolkit_style_files} - rm -rf * - popd - ;; -esac +pushd %{dali_toolkit_style_files} +rm -rf * +popd %postun resources_1920x1080 -case "$1" in - 0) - pushd %{dali_toolkit_style_files} - rm -rf * - popd - ;; -esac +pushd %{dali_toolkit_style_files} +rm -rf * +popd ############################## # Files in Binary Packages -- 2.7.4