freebsd-nq/release/scripts/proflibs-install.sh

17 lines
270 B
Bash
Raw Normal View History

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