1996-01-08 06:19:45 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2001-04-08 23:09:21 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
1996-01-08 06:19:45 +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 base 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
|
2002-04-23 22:16:41 +00:00
|
|
|
cat base.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
|
1996-02-02 23:53:48 +00:00
|
|
|
fi
|