1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/release/scripts/proflibs-install.sh

17 lines
270 B
Bash
Executable File

#!/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