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