summaryrefslogtreecommitdiffstats
path: root/libwolfssl.24.pkg/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'libwolfssl.24.pkg/prerm')
-rw-r--r--libwolfssl.24.pkg/prerm8
1 files changed, 8 insertions, 0 deletions
diff --git a/libwolfssl.24.pkg/prerm b/libwolfssl.24.pkg/prerm
new file mode 100644
index 0000000..db50e77
--- /dev/null
+++ b/libwolfssl.24.pkg/prerm
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+soname='libwolfssl.so.24'
+lib="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24.1.0"
+
+if [ x"${1}" = x'remove' ]; then
+ update-alternatives --remove "${soname}" "${lib}.std"
+fi