diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-02-02 23:53:48 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-02-02 23:53:48 +0000 |
| commit | 6ef18d7ac5489581e62b62cc0760931dd61f9a6e (patch) | |
| tree | 80ae6c48572d601f59ed8f96b075df4a35e8d9c6 /release/scripts | |
| parent | 628257e0b0bd8940e1bd5615e4b9cc84521db4c5 (diff) | |
Notes
Diffstat (limited to 'release/scripts')
| -rwxr-xr-x | release/scripts/base-install.sh | 8 | ||||
| -rwxr-xr-x | release/scripts/bin-install.sh | 8 | ||||
| -rwxr-xr-x | release/scripts/doc-install.sh | 12 |
3 files changed, 22 insertions, 6 deletions
diff --git a/release/scripts/base-install.sh b/release/scripts/base-install.sh index 9ac20cbd51fbc..8fab5c2bad19a 100755 --- a/release/scripts/base-install.sh +++ b/release/scripts/base-install.sh @@ -5,6 +5,8 @@ if [ "`id -u`" != "0" ]; then exit 1 fi echo "You are about to extract the base distribution into / - are you SURE" -echo "you want to do this over your installed system? If not, hit ^C now!" -read junk -cat bin.?? | tar --unlink -xpzf - -C / +echo -n "you want to do this over your installed system (y/n)? " +read ans +if [ "$ans" = "y" ]; then + cat bin.?? | tar --unlink -xpzf - -C / +fi diff --git a/release/scripts/bin-install.sh b/release/scripts/bin-install.sh index 9ac20cbd51fbc..8fab5c2bad19a 100755 --- a/release/scripts/bin-install.sh +++ b/release/scripts/bin-install.sh @@ -5,6 +5,8 @@ if [ "`id -u`" != "0" ]; then exit 1 fi echo "You are about to extract the base distribution into / - are you SURE" -echo "you want to do this over your installed system? If not, hit ^C now!" -read junk -cat bin.?? | tar --unlink -xpzf - -C / +echo -n "you want to do this over your installed system (y/n)? " +read ans +if [ "$ans" = "y" ]; then + cat bin.?? | tar --unlink -xpzf - -C / +fi diff --git a/release/scripts/doc-install.sh b/release/scripts/doc-install.sh new file mode 100755 index 0000000000000..371312cdc6c26 --- /dev/null +++ b/release/scripts/doc-install.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +echo "You are about to extract the doc distribution into / - are you SURE" +echo -n "you want to do this over your installed system (y/n)? " +read ans +if [ "$ans" = "y" ]; then + cat doc.?? | tar --unlink -xpzf - -C / +fi |
