Revert "[Tizen] Fix resource package install issue" 69/147069/1
authorHeeyong Song <heeyong.song@samsung.com>
Fri, 1 Sep 2017 01:18:05 +0000 (10:18 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Fri, 1 Sep 2017 01:18:08 +0000 (10:18 +0900)
This reverts commit 93211c90d4106c0b390a5101a8a040511c6cd3c2.

Change-Id: I75027bb406b17352c4e865a50cf850fe52f6d697

packaging/dali-toolkit.spec

index 7b8ed3c..1e5587b 100644 (file)
@@ -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