summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-01 01:31:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-01 01:31:41 +0000
commite6253b128b1fa902fb1d7c45b1d2c7858588abe2 (patch)
tree18cd8ac6e99c0fef64c7d7acab3ee45255ec2371 /distrib
parenta60b8be667856b47ec07250410d8fd8930c3ba88 (diff)
KNF sh ends up saving space; krw ok
Diffstat (limited to 'distrib')
-rw-r--r--distrib/alpha/common/dot.profile23
-rw-r--r--distrib/amiga/miniroot/dot.profile23
-rw-r--r--distrib/amiga/ramdisk/dot.profile23
-rw-r--r--distrib/hp300/ramdisk/dot.profile28
-rw-r--r--distrib/i386/floppies/common/dot.profile23
-rw-r--r--distrib/mac68k/ramdisk/dot.profile28
-rw-r--r--distrib/macppc/ramdisk/dot.profile24
-rw-r--r--distrib/mvme68k/ramdisk/dot.profile23
-rw-r--r--distrib/mvme88k/miniroot/dot.profile24
-rw-r--r--distrib/mvmeppc/ramdisk/dot.profile24
-rw-r--r--distrib/sparc/miniroot/dot.profile24
-rw-r--r--distrib/sparc/ramdisk/dot.profile24
-rw-r--r--distrib/sparc64/common/dot.profile17
-rw-r--r--distrib/sun3/miniroot/dot.profile24
-rw-r--r--distrib/sun3/ramdisk/dot.profile24
-rw-r--r--distrib/vax/ramdisk/dot.profile24
16 files changed, 126 insertions, 254 deletions
diff --git a/distrib/alpha/common/dot.profile b/distrib/alpha/common/dot.profile
index 82e139c209c..dbe554a2b88 100644
--- a/distrib/alpha/common/dot.profile
+++ b/distrib/alpha/common/dot.profile
@@ -1,5 +1,5 @@
#
-# $OpenBSD: dot.profile,v 1.4 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.5 2002/04/01 01:31:39 deraadt Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -87,20 +87,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade, or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/amiga/miniroot/dot.profile b/distrib/amiga/miniroot/dot.profile
index 4d54ea3c36a..3cfe5e29938 100644
--- a/distrib/amiga/miniroot/dot.profile
+++ b/distrib/amiga/miniroot/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.10 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.11 2002/04/01 01:31:39 deraadt Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -70,20 +70,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade, or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/amiga/ramdisk/dot.profile b/distrib/amiga/ramdisk/dot.profile
index c1e89f8627c..bf4419e7066 100644
--- a/distrib/amiga/ramdisk/dot.profile
+++ b/distrib/amiga/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.9 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.10 2002/04/01 01:31:39 deraadt Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -68,20 +68,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade, or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/hp300/ramdisk/dot.profile b/distrib/hp300/ramdisk/dot.profile
index bbbb253c7be..c2f0f09b425 100644
--- a/distrib/hp300/ramdisk/dot.profile
+++ b/distrib/hp300/ramdisk/dot.profile
@@ -1,5 +1,5 @@
#
-# $OpenBSD: dot.profile,v 1.11 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.12 2002/04/01 01:31:39 deraadt Exp $
# $NetBSD: dot.profile,v 1.1 1995/07/18 04:13:09 briggs Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
@@ -36,8 +36,6 @@ export TERM=hp300h
umask 022
set -o emacs # emacs-style command line editing
-TMPWRITEABLE=/tmp/writeable
-
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
export DONEPROFILE
@@ -50,9 +48,6 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo 'Remounting /dev/rd0a as root...'
mount -u /dev/rd0a /
- # tell install.md we've done it
- > ${TMPWRITEABLE}
-
# pull in the functions that people will use from the shell prompt.
. /.commonutils
. /.instutils
@@ -63,20 +58,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade, or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/i386/floppies/common/dot.profile b/distrib/i386/floppies/common/dot.profile
index 0cf566e984d..4d27c8d3baf 100644
--- a/distrib/i386/floppies/common/dot.profile
+++ b/distrib/i386/floppies/common/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.7 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.8 2002/04/01 01:31:39 deraadt Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -50,20 +50,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/mac68k/ramdisk/dot.profile b/distrib/mac68k/ramdisk/dot.profile
index 1208fedd7f6..e1cda6fc443 100644
--- a/distrib/mac68k/ramdisk/dot.profile
+++ b/distrib/mac68k/ramdisk/dot.profile
@@ -1,5 +1,5 @@
#
-# $OpenBSD: dot.profile,v 1.5 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.6 2002/04/01 01:31:39 deraadt Exp $
# $NetBSD: dot.profile,v 1.1 1995/07/18 04:13:09 briggs Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
@@ -36,8 +36,6 @@ export TERM=vt220
umask 022
set -o emacs # emacs-style command line editing
-TMPWRITEABLE=/tmp/writeable
-
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
export DONEPROFILE
@@ -50,9 +48,6 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo 'Remounting /dev/rd0a as root...'
mount -u /dev/rd0a /
- # tell install.md we've done it
- > ${TMPWRITEABLE}
-
# pull in the functions that people will use from the shell prompt.
. /.commonutils
. /.instutils
@@ -63,20 +58,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade, or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/macppc/ramdisk/dot.profile b/distrib/macppc/ramdisk/dot.profile
index 9a473a25bf1..ca632ed2102 100644
--- a/distrib/macppc/ramdisk/dot.profile
+++ b/distrib/macppc/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.4 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.5 2002/04/01 01:31:39 deraadt Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -42,27 +42,19 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T'
stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600
-
# Installing or upgrading?
_forceloop=""
while [ "X$_forceloop" = X"" ]; do
echo -n '(I)nstall, (U)pgrade or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/mvme68k/ramdisk/dot.profile b/distrib/mvme68k/ramdisk/dot.profile
index d05a0ad2ce1..e96e587ff33 100644
--- a/distrib/mvme68k/ramdisk/dot.profile
+++ b/distrib/mvme68k/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.10 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.11 2002/04/01 01:31:39 deraadt Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -50,20 +50,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/mvme88k/miniroot/dot.profile b/distrib/mvme88k/miniroot/dot.profile
index f6befe6b1a6..c5f50ea13a1 100644
--- a/distrib/mvme88k/miniroot/dot.profile
+++ b/distrib/mvme88k/miniroot/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.7 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.8 2002/04/01 01:31:39 deraadt Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -39,7 +39,6 @@ set -o emacs # emacs-style command line editing
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
# from the various (semi) MI install and upgrade scripts
-
# terminals believed to be in termcap, default TERM
TERMS="sun vt* pcvt* dumb"
TERM=vt220
@@ -70,20 +69,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade, or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/mvmeppc/ramdisk/dot.profile b/distrib/mvmeppc/ramdisk/dot.profile
index 74492d32a71..6a467939873 100644
--- a/distrib/mvmeppc/ramdisk/dot.profile
+++ b/distrib/mvmeppc/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.5 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.6 2002/04/01 01:31:39 deraadt Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -43,27 +43,19 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T'
stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600
-
# Installing or upgrading?
_forceloop=""
while [ "X$_forceloop" = X"" ]; do
echo -n '(I)nstall, (U)pgrade or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/sparc/miniroot/dot.profile b/distrib/sparc/miniroot/dot.profile
index f8645a429e5..c9dfdfd87b3 100644
--- a/distrib/sparc/miniroot/dot.profile
+++ b/distrib/sparc/miniroot/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.18 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.19 2002/04/01 01:31:39 deraadt Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -39,7 +39,6 @@ set -o emacs # emacs-style command line editing
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
# from the various (semi) MI install and upgrade scripts
-
# terminals believed to be in termcap, default TERM
TERMS="sun vt* pcvt* dumb"
TERM=sun
@@ -70,20 +69,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade, or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/sparc/ramdisk/dot.profile b/distrib/sparc/ramdisk/dot.profile
index 4523ebaced8..630c52ca8f8 100644
--- a/distrib/sparc/ramdisk/dot.profile
+++ b/distrib/sparc/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.13 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.14 2002/04/01 01:31:39 deraadt Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -39,7 +39,6 @@ set -o emacs # emacs-style command line editing
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
# from the various (semi) MI install and upgrade scripts
-
# terminals believed to be in termcap, default TERM
TERMS="sun vt* pcvt* dumb"
TERM=sun
@@ -70,20 +69,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade, or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/sparc64/common/dot.profile b/distrib/sparc64/common/dot.profile
index f16dfde50cf..565bd6c4415 100644
--- a/distrib/sparc64/common/dot.profile
+++ b/distrib/sparc64/common/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.3 2002/03/23 23:29:16 krw Exp $
+# $OpenBSD: dot.profile,v 1.4 2002/04/01 01:31:39 deraadt Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -49,16 +49,11 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/sun3/miniroot/dot.profile b/distrib/sun3/miniroot/dot.profile
index cce3fa6af2e..084b08c954e 100644
--- a/distrib/sun3/miniroot/dot.profile
+++ b/distrib/sun3/miniroot/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.6 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.7 2002/04/01 01:31:39 deraadt Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
# Copyright (c) 1994 Christopher G. Demetriou
@@ -38,7 +38,6 @@ set -o emacs # emacs-style command line editing
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
# from the various (semi) MI install and upgrade scripts
-
# terminals believed to be in termcap, default TERM
TERMS="sun vt* pcvt* dumb"
TERM=sun
@@ -69,20 +68,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade, or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/sun3/ramdisk/dot.profile b/distrib/sun3/ramdisk/dot.profile
index 18be48851d9..ea3c356d0f2 100644
--- a/distrib/sun3/ramdisk/dot.profile
+++ b/distrib/sun3/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.7 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.8 2002/04/01 01:31:40 deraadt Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
# Copyright (c) 1994 Christopher G. Demetriou
@@ -38,7 +38,6 @@ set -o emacs # emacs-style command line editing
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
# from the various (semi) MI install and upgrade scripts
-
# terminals believed to be in termcap, default TERM
TERMS="sun vt* pcvt* dumb"
TERM=sun
@@ -69,20 +68,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade, or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi
diff --git a/distrib/vax/ramdisk/dot.profile b/distrib/vax/ramdisk/dot.profile
index b0f63437a14..4b07810874d 100644
--- a/distrib/vax/ramdisk/dot.profile
+++ b/distrib/vax/ramdisk/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.6 2001/12/05 19:50:46 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.7 2002/04/01 01:31:40 deraadt Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
@@ -39,7 +39,6 @@ set -o emacs # emacs-style command line editing
# the TERM/EDITOR stuff is really well enough parameterized to be moved
# into install.sub where it could use the routines there and be invoked
# from the various (semi) MI install and upgrade scripts
-
# terminals believed to be in termcap, default TERM
TERMS="sun vt* dumb"
TERM=vt100
@@ -73,20 +72,13 @@ if [ "X${DONEPROFILE}" = "X" ]; then
echo -n '(I)nstall, (U)pgrade, or (S)hell? '
read _forceloop
case "$_forceloop" in
- i*|I*)
- /install
- ;;
-
- u*|U*)
- /upgrade
- ;;
-
- s*|S*)
- ;;
-
- *)
- _forceloop=""
- ;;
+ i*|I*) /install
+ ;;
+ u*|U*) /upgrade
+ ;;
+ s*|S*) ;;
+ *) _forceloop=""
+ ;;
esac
done
fi