43591c22cf
Change-Id: I65ed7f3a0d1b6e58bc8377932d7c39db21d1b422
[ROCm/amdsmi commit: 5c41319c83]
9 satır
296 B
Bash
Çalıştırılabilir Dosya
9 satır
296 B
Bash
Çalıştırılabilir Dosya
#!/bin/bash
|
|
|
|
# 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-libamd_smi_lib.conf
|
|
ldconfig
|
|
fi
|