diff --git a/runtime/hsa-runtime/DEBIAN/pre_remove b/runtime/hsa-runtime/DEBIAN/pre_remove index 85fd5df6ed..c168ebc4f4 100644 --- a/runtime/hsa-runtime/DEBIAN/pre_remove +++ b/runtime/hsa-runtime/DEBIAN/pre_remove @@ -52,7 +52,7 @@ case "$1" in remove) rm_ldconfig # Workaround for CPACK directory symlink handling error. - rm -rf @CPACK_PACKAGING_INSTALL_PREFIX@/hsa/include/hsa + rm -rf @CPACK_PACKAGING_INSTALL_PREFIX@/hsa ;; purge) ;;