diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-08-06 16:09:07 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-08-06 17:28:21 (EDT) |
commit | 00491fdcc66e716d29e8091813c449935e2fcdf4 (patch) | |
tree | 8d8484d76d5b92137b0b366b96bb19a67c0212fd /libwolfssl.24.pkg/postinst | |
parent | 4dadcda71517ac646f4f70192ac69d4f7f6bb88d (diff) |
Manage library file with update-alternatives
Diffstat (limited to 'libwolfssl.24.pkg/postinst')
-rw-r--r-- | libwolfssl.24.pkg/postinst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libwolfssl.24.pkg/postinst b/libwolfssl.24.pkg/postinst new file mode 100644 index 0000000..c0f8f53 --- /dev/null +++ b/libwolfssl.24.pkg/postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +soname='libwolfssl.so.24' +lib="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24.1.0" + +if [ x"${1}" = x'configure' ]; then + update-alternatives --install "${lib}" "${soname}" "${lib}.std" 10 +fi |