be41c19d3c
4e044a1f6c
Change-Id: Ibb44f48a8ea2099de01cf04d31b47f2a2f2473ad
7 lines
282 B
Plaintext
Executable File
7 lines
282 B
Plaintext
Executable File
# second term originates from ENABLE_LDCONFIG = ON/OFF at package build
|
|
if [ $1 -le 1 ] && [ "@ENABLE_LDCONFIG@" == "ON" ]; then
|
|
# perform the below actions for rpm remove($1=0) or upgrade($1=1) operations
|
|
rm -f /etc/ld.so.conf.d/x86_64-librocm_smi_lib.conf
|
|
ldconfig
|
|
fi
|