diff --git a/runtime/hsa-runtime/RPM/rpm_postun b/runtime/hsa-runtime/RPM/rpm_postun index c5c053cb7b..4948447470 100644 --- a/runtime/hsa-runtime/RPM/rpm_postun +++ b/runtime/hsa-runtime/RPM/rpm_postun @@ -40,6 +40,6 @@ ## ################################################################################ -if [ $1 -eq 0]; then +if [ $1 -eq 0 ]; then rm -f /etc/ld.so.conf.d/hsa-rocr-dev.conf && ldconfig fi diff --git a/runtime/packages/hsa-ext-rocr-dev/rpm_postun b/runtime/packages/hsa-ext-rocr-dev/rpm_postun index 23594b0c3e..b647ed3a62 100644 --- a/runtime/packages/hsa-ext-rocr-dev/rpm_postun +++ b/runtime/packages/hsa-ext-rocr-dev/rpm_postun @@ -1,3 +1,3 @@ -if [ $1 -eq 0]; then +if [ $1 -eq 0 ]; then rm -f /etc/ld.so.conf.d/hsa-ext-rocr-dev.conf && ldconfig fi