summarylogtreecommitdiffstats
path: root/amduprof.install
diff options
context:
space:
mode:
Diffstat (limited to 'amduprof.install')
-rw-r--r--amduprof.install7
1 files changed, 6 insertions, 1 deletions
diff --git a/amduprof.install b/amduprof.install
index a6c277dddf47..ccdf3390579a 100644
--- a/amduprof.install
+++ b/amduprof.install
@@ -1,5 +1,10 @@
post_install() {
- echo "Use 'module load amduprof' to set up the environment for AMD uProf performance analysis tool."
+ if pacman -Q env-modules &> /dev/null; then
+ echo "env-modules seems to be installed:"
+ echo "If configured correctly, you can conveniently use"
+ echo " $ module load amduprof"
+ echo "to set up the environment for AMD µProf."
+ fi
}
post_upgrade() {