summaryrefslogtreecommitdiffstats
path: root/libwolfssl.27.pkg/postinst
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-25 16:42:18 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-25 16:42:18 (EST)
commit0b8fbb65b1586c2ef75376c13146f845e09a7ba1 (patch)
tree37db8337005a768d06acac7c8a9d49682440b025 /libwolfssl.27.pkg/postinst
parentc91aaf4274db8996d9e00b2a141cc908c7df3005 (diff)
New upstream version (with new ABI version)
Diffstat (limited to 'libwolfssl.27.pkg/postinst')
-rw-r--r--libwolfssl.27.pkg/postinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/libwolfssl.27.pkg/postinst b/libwolfssl.27.pkg/postinst
new file mode 100644
index 0000000..9a23324
--- /dev/null
+++ b/libwolfssl.27.pkg/postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+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}" "${libfile##*/}" \
+ "${libfile}.std" 10
+ update-alternatives --install "${liblink}" "${liblink##*/}" \
+ "${liblink}.std" 10
+fi