diff options
Diffstat (limited to 'libwolfssl.24-dbg.pkg/postinst')
-rw-r--r-- | libwolfssl.24-dbg.pkg/postinst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libwolfssl.24-dbg.pkg/postinst b/libwolfssl.24-dbg.pkg/postinst index 7638dde..1b594c2 100644 --- a/libwolfssl.24-dbg.pkg/postinst +++ b/libwolfssl.24-dbg.pkg/postinst @@ -1,12 +1,11 @@ #!/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'configure' ]; then - update-alternatives --install "${libfile}" "${soname}" \ + update-alternatives --install "${libfile}" "${libfile##*/}" \ "${libfile}.dbg" 20 - update-alternatives --install "${liblink}" "${soname}" \ + update-alternatives --install "${liblink}" "${liblink##*/}" \ "${liblink}.dbg" 20 fi |