summaryrefslogtreecommitdiffstats
path: root/libwolfssl.24.pkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'libwolfssl.24.pkg/postinst')
-rw-r--r--libwolfssl.24.pkg/postinst8
1 files changed, 6 insertions, 2 deletions
diff --git a/libwolfssl.24.pkg/postinst b/libwolfssl.24.pkg/postinst
index c0f8f53..ab80e84 100644
--- a/libwolfssl.24.pkg/postinst
+++ b/libwolfssl.24.pkg/postinst
@@ -1,8 +1,12 @@
#!/bin/sh
soname='libwolfssl.so.24'
-lib="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24.1.0"
+libfile="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24.1.0"
+liblink="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24"
if [ x"${1}" = x'configure' ]; then
- update-alternatives --install "${lib}" "${soname}" "${lib}.std" 10
+ update-alternatives --install "${libfile}" "${soname}" \
+ "${libfile}.std" 10
+ update-alternatives --install "${liblink}" "${soname}" \
+ "${liblink}.std" 10
fi