diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-08-07 01:06:52 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-08-07 01:06:52 (EDT) |
commit | 8a1e773efa48d740ae4d38a7fd503601bdc27056 (patch) | |
tree | 2e6a718c098f5e627074c235ef13edc60844e06e /libwolfssl.24-dbg.pkg/prerm | |
parent | 9548507bd6ad7aec780daf17713c79fbf3b06f4f (diff) |
Fix maintainer scripts
Diffstat (limited to 'libwolfssl.24-dbg.pkg/prerm')
-rw-r--r-- | libwolfssl.24-dbg.pkg/prerm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libwolfssl.24-dbg.pkg/prerm b/libwolfssl.24-dbg.pkg/prerm index 7d26d18..3223c7d 100644 --- a/libwolfssl.24-dbg.pkg/prerm +++ b/libwolfssl.24-dbg.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}.dbg" - update-alternatives --remove "${soname}" "${liblink}.dbg" + update-alternatives --remove "${libfile##*/}" "${libfile}.dbg" + update-alternatives --remove "${liblink##*/}" "${liblink}.dbg" fi |