Files
rocm-systems/RPM/preun.in
T

6 lines
240 B
Plaintext
Raw Normal View History

2022-08-11 19:34:40 -05:00
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