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