Randomize ephermal source ports.
[dragonfly.git] / release / scripts / ports-install.sh
1 #!/bin/sh
2 #
3 # $FreeBSD: src/release/scripts/ports-install.sh,v 1.2.6.1 2002/08/08 08:23:53 ru Exp $
4 # $DragonFly: src/release/scripts/Attic/ports-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 echo "Extracting ports tarball into ${DESTDIR}/usr"
12 cat ports.tgz | tar --unlink -xpzf - -C ${DESTDIR}/usr
13 exit 0