Merge from vendor branch LIBSTDC++:
[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 # $DragonFly: src/release/scripts/Attic/proflibs-install.sh,v 1.2 2003/06/17 04:27:21 dillon Exp $
5 #
6
7 if [ "`id -u`" != "0" ]; then
8         echo "Sorry, this must be done as root."
9         exit 1
10 fi
11 cat proflibs.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
12 cd ${DESTDIR:-/}usr/lib
13 if [ -f libdescrypt_p.a ]
14 then
15         ln -f -s libdescrypt_p.a libcrypt_p.a
16 fi
17 exit 0