revise spec(packaging) file
authorYoungjae Shin <yj99.shin@samsung.com>
Mon, 11 May 2020 05:35:11 +0000 (14:35 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Mon, 11 May 2020 09:21:59 +0000 (18:21 +0900)
packaging/modes-plugins.spec

index acba964f6f21ee8bd32a27ed09fb5ae90b7efe0c..b163dbd66ec537ea25036989e3d9421317ca4a25 100644 (file)
@@ -96,10 +96,10 @@ xmllint --noout --schema %{modes_ro_dir}/schema/tizen_mode.xsd %{buildroot}%{mod
 
 %post
 /sbin/ldconfig
-systemctl restart modes.service
+systemctl try-restart modes.service
 
-%posttrans unittests
-systemctl restart modes.service
+%post unittests
+systemctl try-restart modes.service
 %{modes_plugin_test_dir}/modes-plugintest-app
 XDG_RUNTIME_DIR=/run %{modes_plugin_test_dir}/modes-plugintest-media
 %{modes_plugin_test_dir}/modes-plugintest-wifi