Add install script for doc, make bin install more intelligent.

This commit is contained in:
Jordan K. Hubbard 1996-02-02 23:53:48 +00:00
parent 628257e0b0
commit 6ef18d7ac5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13873
3 changed files with 22 additions and 6 deletions

View File

@ -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

View File

@ -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

12
release/scripts/doc-install.sh Executable file
View File

@ -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