| 1 |
if [ $1 -le 1 ]; then |
| 2 |
# perform the below actions for rpm remove($1=0) or upgrade($1=1) operations |
| 3 |
rm -f @ROCMBINDIR@/hipify-perl |
| 4 |
rm -f @ROCMBINDIR@/hipify-clang |
| 5 |
rm -f @ROCMBINDIR@/hipconvertinplace-perl.sh |
| 6 |
rm -f @ROCMBINDIR@/hipconvertinplace.sh |
| 7 |
rm -f @ROCMBINDIR@/hipexamine-perl.sh |
| 8 |
rm -f @ROCMBINDIR@/hipexamine.sh |
| 9 |
rm -f @ROCMBINDIR@/findcode.sh |
| 10 |
rm -f @ROCMBINDIR@/findcode_headers.sh |
| 11 |
rm -f @ROCMBINDIR@/findcode_sources.sh |
| 12 |
rm -f @ROCMBINDIR@/findcode_custom.sh |
| 13 |
rm -f @ROCMBINDIR@/finduncodep.sh |
| 14 |
rmdir --ignore-fail-on-non-empty @ROCMBINDIR@ |
| 15 |
rmdir --ignore-fail-on-non-empty @HIPBINDIR@ |
| 16 |
rmdir --ignore-fail-on-non-empty @CPACK_PACKAGING_INSTALL_PREFIX@ |
| 17 |
fi |