cd11d7530b
I6520b51aac34060b5b90f94a016cec1827a4973f happens after uninstall, which leaves a dangling directory under /opt/rocm/libexec/rocm_smi. Removing __pycache__ before uninstall fixes the issue. Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com> Change-Id: I695bd085d4a43b678b563b4c35f6d2e8ddfa7d7c
6 wiersze
240 B
Plaintext
Executable File
6 wiersze
240 B
Plaintext
Executable File
if [ $1 -le 1 ]; then
|
|
# perform the below actions for rpm remove($1=0) or upgrade($1=1) operations
|
|
# remove pyc file generated by python
|
|
rm -rf @CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBEXECDIR@/rocm_smi/__pycache__
|
|
fi
|