summaryrefslogtreecommitdiffstats
path: root/release/scripts/proflibs-install.sh
blob: fa67ec78c62609ae5da8c28d8365bf528c858a99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
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