Files
rocm-systems/DEBIAN/prerm
T
Evgeny 722fa91624 pre/post package scripts install dir name fix and CPACK_PACKAGING_INSTALL_PREFIX
Change-Id: I415875572829dadc9996dd7561418a77ec3fe1bb
2018-11-12 12:39:03 -06:00

19 lines
198 B
Bash

#!/bin/bash
set -e
rm_ldconfig() {
rm -f /etc/ld.so.conf.d/librocprofiler64.conf && ldconfig
}
case "$1" in
remove)
rm_ldconfig
;;
purge)
;;
*)
exit 0
;;
esac