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/postinst5
1 files changed, 2 insertions, 3 deletions
diff --git a/libwolfssl.24.pkg/postinst b/libwolfssl.24.pkg/postinst
index ab80e84..9a23324 100644
--- a/libwolfssl.24.pkg/postinst
+++ b/libwolfssl.24.pkg/postinst
@@ -1,12 +1,11 @@
#!/bin/sh
-soname='libwolfssl.so.24'
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 "${libfile}" "${soname}" \
+ update-alternatives --install "${libfile}" "${libfile##*/}" \
"${libfile}.std" 10
- update-alternatives --install "${liblink}" "${soname}" \
+ update-alternatives --install "${liblink}" "${liblink##*/}" \
"${liblink}.std" 10
fi