summarylogtreecommitdiffstats
path: root/cuda.install
diff options
context:
space:
mode:
authorDaniel Bermond2021-02-06 22:45:16 +0000
committerDaniel Bermond2021-02-06 22:45:16 +0000
commit7c4b5a26cc98eb0ca205fe4da1cb1e34b2bc98fd (patch)
treeacf35c647b0151003a4d45eefb4d9c38b92f3d47 /cuda.install
downloadaur-7c4b5a26cc98eb0ca205fe4da1cb1e34b2bc98fd.tar.gz
Initial commit
Diffstat (limited to 'cuda.install')
-rw-r--r--cuda.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/cuda.install b/cuda.install
new file mode 100644
index 000000000000..cf64a5d0d325
--- /dev/null
+++ b/cuda.install
@@ -0,0 +1,11 @@
+post_install() {
+ printf '%s\n' 'The cuda binaries are in /opt/cuda/bin'
+ printf '%s\n' 'The cuda samples are in /opt/cuda/samples'
+ printf '%s\n' 'The cuda docs are in /opt/cuda/doc'
+ printf '%s\n' 'You need to relogin in order for the cuda binaries to appear in your PATH'
+ post_upgrade
+}
+
+post_upgrade() {
+ ldconfig -r .
+}