summarylogtreecommitdiffstats
path: root/amduprof.install
diff options
context:
space:
mode:
authorDarjan Krijan2021-03-17 21:12:55 +0100
committerDarjan Krijan2021-03-17 21:12:55 +0100
commit901ecc5e16482e4b49cc11107c6035d84c6fb7fa (patch)
tree96a0973013a8183a5b59d6ff63e979b7f0ddb16d /amduprof.install
parenta9f9cbf0a685b2f656533d3b4c7a07e8499c41b2 (diff)
downloadaur-901ecc5e16482e4b49cc11107c6035d84c6fb7fa.tar.gz
Update to 3.4.468, env-modules now optional
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() {