diff --git a/linux/installer/rpm/sgx-aesm-service/sgx-aesm-service.spec b/linux/installer/rpm/sgx-aesm-service/sgx-aesm-service.spec index d8a0265d6..581012c57 100644 --- a/linux/installer/rpm/sgx-aesm-service/sgx-aesm-service.spec +++ b/linux/installer/rpm/sgx-aesm-service/sgx-aesm-service.spec @@ -67,7 +67,7 @@ sed -i 's#^/etc/aesmd.conf#%config &#' %{_specdir}/list-%{name} %files -f %{_specdir}/list-%{name} -%post +%posttrans if [ -x %{_install_path}/startup.sh ]; then %{_install_path}/startup.sh; fi %preun