freebsd-dev/release/scripts/ports-install.sh

9 lines
147 B
Bash
Executable File

#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
cat ports.tgz | tar --unlink -xpzf - -C /usr
exit 0