3 # $FreeBSD: src/release/scripts/doc-install.sh,v 1.2.6.1 2002/08/08 08:23:53 ru Exp $
6 if [ "`id -u`" != "0" ]; then
7 echo "Sorry, this must be done as root."
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)? "
13 if [ "$ans" = "y" ]; then
14 cat doc.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}