halapi: Delete unused code to make directory 99/261899/1 accepted/tizen/unified/20210803.123918 submit/tizen/20210729.015437
authorSeungha Son <seungha.son@samsung.com>
Wed, 28 Jul 2021 11:31:17 +0000 (20:31 +0900)
committerSeungha Son <seungha.son@samsung.com>
Wed, 28 Jul 2021 11:31:17 +0000 (20:31 +0900)
 %{TZ_SYS_RO_ETC}/hal is not used directory then
 delete unused behavior to keep clean code.

Change-Id: Icc7a1085ab42fc2018ab5deb5e29bd5e983a8fea
Signed-off-by: Seungha Son <seungha.son@samsung.com>
packaging/hal-api-common.spec

index 332b249..55ad46f 100644 (file)
@@ -89,11 +89,6 @@ rm -rf %{buildroot}
 /sbin/ldconfig
 chsmack -a "System" -t %{hal_rpmdb_checker_path}
 
-if [ ! -d %{TZ_SYS_RO_ETC} ]
-then
-       mkdir -p %{TZ_SYS_RO_ETC}/hal
-fi
-
 %postun
 /sbin/ldconfig