aboutsummaryrefslogblamecommitdiff
path: root/release/scripts/doc-install.sh
blob: 5609720ada37b91273d9b8a3a4626e81c198ce8c (plain) (tree)
1
2
3
4
5
6
7
8
9

         


           



                                                
                                                                                      


                                                                
                                                          
  
#!/bin/sh
#
# $FreeBSD$
#

if [ "`id -u`" != "0" ]; then
	echo "Sorry, this must be done as root."
	exit 1
fi
echo "You are about to extract the doc distribution into ${DESTDIR:-/} - are you SURE"
echo -n "you want to do this over your installed system (y/n)? "
read ans
if [ "$ans" = "y" ]; then
	cat doc.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
fi