b629dd1888
$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
4 строки
87 B
Plaintext
4 строки
87 B
Plaintext
if [ $1 -eq 0 ]; then
|
|
rm -f /etc/ld.so.conf.d/x86_64-libhsakmt.conf && ldconfig
|
|
fi
|