summaryrefslogtreecommitdiffstats
path: root/source/a/aaa_libraries/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/aaa_libraries/doinst.sh')
-rw-r--r--source/a/aaa_libraries/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/a/aaa_libraries/doinst.sh b/source/a/aaa_libraries/doinst.sh
new file mode 100644
index 000000000..dab615d45
--- /dev/null
+++ b/source/a/aaa_libraries/doinst.sh
@@ -0,0 +1,9 @@
+# Let's attempt to activate these libraries as they might be needed by various
+# install scripts early on. We used to package symlinks in the normal way, and
+# it's possible that would be fine too, but there must(?) have been a reason
+# that we quit doing that...
+cat var/lib/pkgtools/packages/aaa_libraries* 2> /dev/null | grep -e "^lib" -e "/lib" | grep -v "/$" | while read file ; do
+ if [ -r "$file" ]; then
+ ldconfig -l "$file" 1> /dev/null 2> /dev/null
+ fi
+done