spec: Only remove ldconf file if uninstalling
$1 is passed in during install/upgrade/uninstall. If this is an uninstall, remove the ldconf file, otherwise leave it. In yum-based systems, the uninstall from the old package is executed after the post-install of the newer package, which will undo the ldconf work from the newer package. Change-Id: I1681cb3bc65f0bd802bce5703187ae5f4d3f3530
Этот коммит содержится в:
@@ -1 +1,3 @@
|
||||
rm -f /etc/ld.so.conf.d/x86_64-libhsakmt.conf && ldconfig
|
||||
if [ $1 -eq 0 ]; then
|
||||
rm -f /etc/ld.so.conf.d/x86_64-libhsakmt.conf && ldconfig
|
||||
fi
|
||||
|
||||
Ссылка в новой задаче
Block a user