summaryrefslogtreecommitdiffstats
path: root/release/scripts/ports-install.sh
blob: 81c4023c77eeb26790fc61c8b8e093ba471101e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# $FreeBSD$
#

if [ "`id -u`" != "0" ]; then
	echo "Sorry, this must be done as root."
	exit 1
fi
echo "Extracting ports tarball into ${DESTDIR}/usr"
cat ports.tgz | tar --unlink -xpzf - -C ${DESTDIR}/usr
exit 0
OpenPOWER on IntegriCloud