diff options
Diffstat (limited to 'libwolfssl.24.pkg/postinst')
-rw-r--r-- | libwolfssl.24.pkg/postinst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libwolfssl.24.pkg/postinst b/libwolfssl.24.pkg/postinst new file mode 100644 index 0000000..9a23324 --- /dev/null +++ b/libwolfssl.24.pkg/postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +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}" "${libfile##*/}" \ + "${libfile}.std" 10 + update-alternatives --install "${liblink}" "${liblink##*/}" \ + "${liblink}.std" 10 +fi |