From e6253b128b1fa902fb1d7c45b1d2c7858588abe2 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 1 Apr 2002 01:31:41 +0000 Subject: KNF sh ends up saving space; krw ok --- distrib/mvme88k/miniroot/dot.profile | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'distrib/mvme88k/miniroot') 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 -- cgit v1.2.3