From 709700e64dcc7979a5c56562f62229e28b5e5f17 Mon Sep 17 00:00:00 2001 From: jkh Date: Mon, 8 Jan 1996 06:19:45 +0000 Subject: 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. --- release/scripts/base-install.sh | 10 ++++++++++ release/scripts/bin-install.sh | 10 ++++++++++ release/scripts/commerce-install.sh | 8 ++++++++ release/scripts/compat1x-install.sh | 8 ++++++++ release/scripts/compat20-install.sh | 8 ++++++++ release/scripts/des-install.sh | 18 ++++++++++++++++++ release/scripts/dict-install.sh | 8 ++++++++ release/scripts/games-install.sh | 8 ++++++++ release/scripts/info-install.sh | 8 ++++++++ release/scripts/manpages-install.sh | 8 ++++++++ release/scripts/proflibs-install.sh | 8 ++++++++ release/scripts/src-install.sh | 21 +++++++++++++++++++++ release/scripts/xperimnt-install.sh | 8 ++++++++ 13 files changed, 131 insertions(+) create mode 100755 release/scripts/base-install.sh create mode 100755 release/scripts/bin-install.sh create mode 100755 release/scripts/commerce-install.sh create mode 100755 release/scripts/compat1x-install.sh create mode 100755 release/scripts/compat20-install.sh create mode 100755 release/scripts/des-install.sh create mode 100755 release/scripts/dict-install.sh create mode 100755 release/scripts/games-install.sh create mode 100755 release/scripts/info-install.sh create mode 100755 release/scripts/manpages-install.sh create mode 100755 release/scripts/proflibs-install.sh create mode 100755 release/scripts/src-install.sh create mode 100755 release/scripts/xperimnt-install.sh (limited to 'release/scripts') diff --git a/release/scripts/base-install.sh b/release/scripts/base-install.sh new file mode 100755 index 0000000..9ac20cb --- /dev/null +++ b/release/scripts/base-install.sh @@ -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 / diff --git a/release/scripts/bin-install.sh b/release/scripts/bin-install.sh new file mode 100755 index 0000000..9ac20cb --- /dev/null +++ b/release/scripts/bin-install.sh @@ -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 / diff --git a/release/scripts/commerce-install.sh b/release/scripts/commerce-install.sh new file mode 100755 index 0000000..e8a8ca7 --- /dev/null +++ b/release/scripts/commerce-install.sh @@ -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 diff --git a/release/scripts/compat1x-install.sh b/release/scripts/compat1x-install.sh new file mode 100755 index 0000000..0361157 --- /dev/null +++ b/release/scripts/compat1x-install.sh @@ -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 diff --git a/release/scripts/compat20-install.sh b/release/scripts/compat20-install.sh new file mode 100755 index 0000000..9c84c14 --- /dev/null +++ b/release/scripts/compat20-install.sh @@ -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 diff --git a/release/scripts/des-install.sh b/release/scripts/des-install.sh new file mode 100755 index 0000000..548f83a --- /dev/null +++ b/release/scripts/des-install.sh @@ -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 diff --git a/release/scripts/dict-install.sh b/release/scripts/dict-install.sh new file mode 100755 index 0000000..e86c744 --- /dev/null +++ b/release/scripts/dict-install.sh @@ -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 diff --git a/release/scripts/games-install.sh b/release/scripts/games-install.sh new file mode 100755 index 0000000..1b907b2 --- /dev/null +++ b/release/scripts/games-install.sh @@ -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 diff --git a/release/scripts/info-install.sh b/release/scripts/info-install.sh new file mode 100755 index 0000000..7248df6 --- /dev/null +++ b/release/scripts/info-install.sh @@ -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 diff --git a/release/scripts/manpages-install.sh b/release/scripts/manpages-install.sh new file mode 100755 index 0000000..6ba0092 --- /dev/null +++ b/release/scripts/manpages-install.sh @@ -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 diff --git a/release/scripts/proflibs-install.sh b/release/scripts/proflibs-install.sh new file mode 100755 index 0000000..afcd5c5 --- /dev/null +++ b/release/scripts/proflibs-install.sh @@ -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 diff --git a/release/scripts/src-install.sh b/release/scripts/src-install.sh new file mode 100755 index 0000000..eccfd66 --- /dev/null +++ b/release/scripts/src-install.sh @@ -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 diff --git a/release/scripts/xperimnt-install.sh b/release/scripts/xperimnt-install.sh new file mode 100755 index 0000000..e998c0f --- /dev/null +++ b/release/scripts/xperimnt-install.sh @@ -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 -- cgit v1.1