summaryrefslogtreecommitdiffstats
path: root/release/scripts
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-03-11 00:07:11 +0000
committerjkh <jkh@FreeBSD.org>1997-03-11 00:07:11 +0000
commitb52bec53e19239bf55c7c7b74cb37d60b8722bac (patch)
treeabed16e0690bb5d976b601d9d23754d12addd68a /release/scripts
parente7a6197177df3dcf28e1dbe35fce2a1774ac93cd (diff)
downloadFreeBSD-src-b52bec53e19239bf55c7c7b74cb37d60b8722bac.zip
FreeBSD-src-b52bec53e19239bf55c7c7b74cb37d60b8722bac.tar.gz
Add support for ports collection distribution.
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/ports-install.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/release/scripts/ports-install.sh b/release/scripts/ports-install.sh
new file mode 100755
index 0000000..22d2246
--- /dev/null
+++ b/release/scripts/ports-install.sh
@@ -0,0 +1,8 @@
+#!/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
OpenPOWER on IntegriCloud