From: jiyong.min Date: Tue, 18 Oct 2022 01:15:25 +0000 (+0900) Subject: Fix media-controller-add.post file permission error X-Git-Tag: accepted/tizen/unified/20221103.165747~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F76%2F283076%2F1;p=platform%2Fcore%2Fapi%2Fmedia-controller.git Fix media-controller-add.post file permission error - Permission was not changed to 755 and can't be executed. Change-Id: I1889a1738d44b71bca061aec5b79b34acc72a37b --- diff --git a/packaging/capi-media-controller.spec b/packaging/capi-media-controller.spec index a6af37f..b1230fb 100644 --- a/packaging/capi-media-controller.spec +++ b/packaging/capi-media-controller.spec @@ -113,11 +113,14 @@ find . -name '*.gcno' -exec cp --parents '{}' "$gcno_obj_dir" ';' %endif %post + +%postun + +%post -n mediacontroller %if %{on_demand} chmod 755 /etc/gumd/useradd.d/30_media-controller-add.post %endif - -%postun +%postun -n mediacontroller %files %manifest %{name}.manifest