Deleted Added
full compact
base-install.sh (75328) base-install.sh (95327)
1#!/bin/sh
2#
1#!/bin/sh
2#
3# $FreeBSD: head/release/scripts/base-install.sh 75328 2001-04-08 23:09:21Z obrien $
3# $FreeBSD: head/release/scripts/base-install.sh 95327 2002-04-23 22:16:41Z obrien $
4#
5
6if [ "`id -u`" != "0" ]; then
7 echo "Sorry, this must be done as root."
8 exit 1
9fi
10
11echo "You are about to extract the base distribution into ${DESTDIR:-/} - are you SURE"
12echo -n "you want to do this over your installed system (y/n)? "
13read ans
14if [ "$ans" = "y" ]; then
4#
5
6if [ "`id -u`" != "0" ]; then
7 echo "Sorry, this must be done as root."
8 exit 1
9fi
10
11echo "You are about to extract the base distribution into ${DESTDIR:-/} - are you SURE"
12echo -n "you want to do this over your installed system (y/n)? "
13read ans
14if [ "$ans" = "y" ]; then
15 cat bin.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
15 cat base.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
16fi
16fi