summaryrefslogtreecommitdiffstats
path: root/libwolfssl.27-dbg.pkg/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'libwolfssl.27-dbg.pkg/prerm')
-rw-r--r--libwolfssl.27-dbg.pkg/prerm9
1 files changed, 9 insertions, 0 deletions
diff --git a/libwolfssl.27-dbg.pkg/prerm b/libwolfssl.27-dbg.pkg/prerm
new file mode 100644
index 0000000..3223c7d
--- /dev/null
+++ b/libwolfssl.27-dbg.pkg/prerm
@@ -0,0 +1,9 @@
+#!/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'remove' ]; then
+ update-alternatives --remove "${libfile##*/}" "${libfile}.dbg"
+ update-alternatives --remove "${liblink##*/}" "${liblink}.dbg"
+fi