mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 12:53:33 +00:00
13 lines
224 B
Bash
Executable File
13 lines
224 B
Bash
Executable File
#!/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
|