summaryrefslogtreecommitdiffstats
path: root/libwolfssl.24.pkg/postinst
blob: 9a23324e10e3e914c9d1942398eee545ee97403a (plain)
1
2
3
4
5
6
7
8
9
10
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