]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - release/scripts/doc-install.sh
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / release / scripts / doc-install.sh
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 if [ "`id -u`" != "0" ]; then
7         echo "Sorry, this must be done as root."
8         exit 1
9 fi
10 echo "You are about to extract the doc distribution into ${DESTDIR:-/} - are you SURE"
11 echo -n "you want to do this over your installed system (y/n)? "
12 read ans
13 if [ "$ans" = "y" ]; then
14         cat doc.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
15 fi