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/prerm5
1 files changed, 2 insertions, 3 deletions
diff --git a/libwolfssl.24.pkg/prerm b/libwolfssl.24.pkg/prerm
index a028b4c..c1f779c 100644
--- a/libwolfssl.24.pkg/prerm
+++ b/libwolfssl.24.pkg/prerm
@@ -1,10 +1,9 @@
#!/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'remove' ]; then
- update-alternatives --remove "${soname}" "${libfile}.std"
- update-alternatives --remove "${soname}" "${liblink}.std"
+ update-alternatives --remove "${libfile##*/}" "${libfile}.std"
+ update-alternatives --remove "${liblink##*/}" "${liblink}.std"
fi