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
Αυτή η υποβολή περιλαμβάνεται σε:
1 γονέας
fdbe277f2a
υποβολή
ed9baefd75
3 files changed
+9
-3
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user