summaryrefslogtreecommitdiffstats
path: root/release/scripts/proflibs-install.sh
blob: 39adc1c413ccd5f9996e2e9b07a3e4a93e50f75e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# $FreeBSD$
#

if [ "`id -u`" != "0" ]; then
	echo "Sorry, this must be done as root."
	exit 1
fi
cat proflibs.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
cd ${DESTDIR}/usr/lib
if [ -f libdescrypt_p.a ]
then
	ln -f -s libdescrypt_p.a libcrypt_p.a
fi
exit 0
OpenPOWER on IntegriCloud