1996-02-02 23:53:48 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2001-04-08 23:09:21 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
1996-02-02 23:53:48 +00:00
|
|
|
if [ "`id -u`" != "0" ]; then
|
|
|
|
echo "Sorry, this must be done as root."
|
|
|
|
exit 1
|
|
|
|
fi
|
1998-09-22 08:43:10 +00:00
|
|
|
echo "You are about to extract the doc distribution into ${DESTDIR:-/} - are you SURE"
|
1996-02-02 23:53:48 +00:00
|
|
|
echo -n "you want to do this over your installed system (y/n)? "
|
|
|
|
read ans
|
|
|
|
if [ "$ans" = "y" ]; then
|
1998-09-22 08:43:10 +00:00
|
|
|
cat doc.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
|
1996-02-02 23:53:48 +00:00
|
|
|
fi
|