summaryrefslogtreecommitdiffstats
path: root/libwolfssl.24-dbg.pkg/postinst
blob: 1b594c2c2704be2092c84cb02051d7e07cafcdf8 (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}.dbg" 20
	update-alternatives --install "${liblink}" "${liblink##*/}" \
		"${liblink}.dbg" 20
fi