Files
rocm-systems/projects/rdc/src/RPM_preun.in
T

8 lines
266 B
Bash
Raw Normal View History

2022-08-15 12:25:12 -05:00
#!/bin/bash
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
2022-10-07 18:34:44 -05:00
rm -rf /@CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBEXECDIR@/@RDC@/python_binding/__pycache__
2022-08-15 12:25:12 -05:00
fi