Initial import from FreeBSD RELENG_4:
[dragonfly.git] / release / scripts / proflibs-install.sh
1 #!/bin/sh
2 #
3 # $FreeBSD: src/release/scripts/proflibs-install.sh,v 1.3.2.1 2002/08/08 08:23:53 ru Exp $
4 #
5
6 if [ "`id -u`" != "0" ]; then
7         echo "Sorry, this must be done as root."
8         exit 1
9 fi
10 cat proflibs.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
11 cd ${DESTDIR:-/}usr/lib
12 if [ -f libdescrypt_p.a ]
13 then
14         ln -f -s libdescrypt_p.a libcrypt_p.a
15 fi
16 exit 0