From 00491fdcc66e716d29e8091813c449935e2fcdf4 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 06 Aug 2020 16:09:07 -0400 Subject: Manage library file with update-alternatives --- (limited to 'libwolfssl.24.pkg/postinst') 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 -- cgit v0.9.1