summaryrefslogtreecommitdiffstats
path: root/libwolfssl.24.pkg/postinst
blob: ab80e843d646573950c4d8cacfd3c6bb60ca3f11 (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}.std" 10
	update-alternatives --install "${liblink}" "${soname}" \
		"${liblink}.std" 10
fi