summaryrefslogtreecommitdiffstats
path: root/libwolfssl.24-dbg.pkg/postinst
blob: 7638dde629a96581271fa8d6e306174520cae5a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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}" \
		"${libfile}.dbg" 20
	update-alternatives --install "${liblink}" "${soname}" \
		"${liblink}.dbg" 20
fi