1996-02-02 23:53:48 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
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
|