summaryrefslogtreecommitdiff
path: root/academic/root/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'academic/root/doinst.sh')
-rw-r--r--academic/root/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/academic/root/doinst.sh b/academic/root/doinst.sh
new file mode 100644
index 0000000000..7a4c9ed06a
--- /dev/null
+++ b/academic/root/doinst.sh
@@ -0,0 +1,4 @@
+if [ ! "$(grep @PREFIX@/lib@LIBDIRSUFFIX@ etc/ld.so.conf)" ]; then
+ echo "@PREFIX@/lib@LIBDIRSUFFIX@" >> etc/ld.so.conf
+ /sbin/ldconfig
+fi