Only remove ldconf on uninstall

On update, the removal will occur AFTER the new package is installed,
due to some stupidity with how yum/rpm does things. Only remove it if
we're doing a pure uninstall

Change-Id: I4982610828d8bc1f2d8691b1e4ee1718c89413cc


[ROCm/ROCR-Runtime commit: ed9baefd75]
이 커밋은 다음에 포함됨:
Kent Russell가 2018-10-03 08:10:06 -04:00를 커밋했습니다
1 부모 54428e93aa
커밋 61249bc910
3 파일이 변경됨
+9 -3

검색과 일치하는 파일 없음

+3 -1
파일 보기
@@ -1 +1,3 @@
rm -f /etc/ld.so.conf.d/hsa-rocr-dev.conf && ldconfig
if [ $1 -eq 0]; then
rm -f /etc/ld.so.conf.d/hsa-rocr-dev.conf && ldconfig
fi
+3 -1
파일 보기
@@ -1 +1,3 @@
rm -f /etc/ld.so.conf.d/hsa-ext-rocr-dev.conf && ldconfig
if [ $1 -eq 0]; then
rm -f /etc/ld.so.conf.d/hsa-ext-rocr-dev.conf && ldconfig
fi
+3 -1
파일 보기
@@ -1 +1,3 @@
rm -f /etc/ld.so.conf.d/hsa-rocr-dev.conf && ldconfig
if [ $1 -eq 0]; then
rm -f /etc/ld.so.conf.d/hsa-rocr-dev.conf && ldconfig
fi