diff --git a/DEBIAN/prerm.in b/DEBIAN/prerm.in index ed421211fa..65ec3de3ad 100755 --- a/DEBIAN/prerm.in +++ b/DEBIAN/prerm.in @@ -12,7 +12,7 @@ rm_ldconfig() { rm_pyc() { # remove pyc file generated by python - rm -rf @CPACK_PACKAGING_INSTALL_PREFIX@/rocm_smi/bin/__pycache__ + rm -rf @CPACK_PACKAGING_INSTALL_PREFIX@/libexec/rocm_smi/__pycache__ } case "$1" in