Arquivos
rocm-systems/opencl/packaging/rocm-opencl.prerm
T
Alex Xie 5a3c4ea49d SWDEV-434373 - Add icd config to opencl package
Change-Id: Id2d143ae82b0fa4d5321912fca9daa1e958f1fb6
2023-12-11 11:17:37 -05:00

19 linhas
208 B
Bash

#!/bin/bash
set -e
rm_ldconfig() {
rm -f /@CMAKE_INSTALL_SYSCONFDIR@/OpenCL/vendors/@OPENCL_AMD_ICD_FILE@
}
case "$1" in
purge)
;;
remove | upgrade )
rm_ldconfig
;;
*)
exit 0
;;
esac