diff options
Diffstat (limited to 'libwolfssl.24.pkg/prerm')
-rw-r--r-- | libwolfssl.24.pkg/prerm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libwolfssl.24.pkg/prerm b/libwolfssl.24.pkg/prerm index db50e77..a028b4c 100644 --- a/libwolfssl.24.pkg/prerm +++ b/libwolfssl.24.pkg/prerm @@ -1,8 +1,10 @@ #!/bin/sh soname='libwolfssl.so.24' -lib="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24.1.0" +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}" "${lib}.std" + update-alternatives --remove "${soname}" "${libfile}.std" + update-alternatives --remove "${soname}" "${liblink}.std" fi |