Check in the shell scripts I used for the 2.1-RELEASE CDROM. These

are provided simply as easy short-cuts for users who are prowling through
the dists structure and decide to install something directly from there.

There still needs to be some glue stuck into release/Makefile to copy
these into the appropriate homes following a full `make release', but I'll
wait until phk is done in there.
This commit is contained in:
Jordan K. Hubbard 1996-01-08 06:19:45 +00:00
parent e5255f3193
commit 2838466c09
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13341
13 changed files with 131 additions and 0 deletions

10
release/scripts/base-install.sh Executable file
View File

@ -0,0 +1,10 @@
#!/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 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 /

10
release/scripts/bin-install.sh Executable file
View File

@ -0,0 +1,10 @@
#!/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 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 /

View File

@ -0,0 +1,8 @@
#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
tar --unlink -xpzf commerce.tgz -C /usr/local
exit 0

View File

@ -0,0 +1,8 @@
#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
tar --unlink -xpzf compat1x.tgz -C /
exit 0

View File

@ -0,0 +1,8 @@
#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
tar --unlink -xpzf compat20.tgz -C /
exit 0

18
release/scripts/des-install.sh Executable file
View File

@ -0,0 +1,18 @@
#!/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 DES distribution into / - are you SURE"
echo "you want to do this over your installed system? If not, hit ^C now!"
read junk
cat des.?? | tar --unlink -xpzf - -C /
cat krb.?? | tar --unlink -xpzf - -C /
echo -n "Do you want to install the DES sources (y/n)? "
read ans
if [ "$ans" = "y" ]; then
cat sebones.?? | tar --unlink -xpzf - -C /usr/src
cat ssecure.?? | tar --unlink -xpzf - -C /usr/src
fi
exit 0

View File

@ -0,0 +1,8 @@
#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
cat dict.?? | tar --unlink -xpzf - -C /
exit 0

View File

@ -0,0 +1,8 @@
#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
cat games.?? | tar --unlink -xpzf - -C /
exit 0

View File

@ -0,0 +1,8 @@
#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
cat info.?? | tar --unlink -xpzf - -C /
exit 0

View File

@ -0,0 +1,8 @@
#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
cat manpages.?? | tar --unlink -xpzf - -C /
exit 0

View File

@ -0,0 +1,8 @@
#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
cat proflibs.?? | tar --unlink -xpzf - -C /
exit 0

21
release/scripts/src-install.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
if [ $# -lt 1 ]; then
echo "You must specify which components of src to extract"
echo "possible subcomponents are:"
echo
echo "base bin etc games gnu include lib libexec lkm release"
echo "sbin share smailcf sys subin susbin"
echo
exit 1
fi
for i in $*; do
echo "Extracting source component: $i"
cat s${i}.?? | tar --unlink -xpzf - -C /usr/src
done
exit 0

View File

@ -0,0 +1,8 @@
#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
tar --unlink -xpzf xperimnt.tgz -C /usr/local
exit 0