diff options
author | grr <grr@cvs.openbsd.org> | 1997-05-05 16:31:41 +0000 |
---|---|---|
committer | grr <grr@cvs.openbsd.org> | 1997-05-05 16:31:41 +0000 |
commit | 5f4eb0baa66971342a343012cda3036c47d904f4 (patch) | |
tree | e4f76e79ae47391e43243aa605713764c9cda40c /distrib/sparc/miniroot/dot.profile | |
parent | 0ca370db76401cb0adc79fd8df56ea7424c4a21c (diff) |
last pass for now up correcting/upgrade sparc miniroot and install/upgrade stuff
Diffstat (limited to 'distrib/sparc/miniroot/dot.profile')
-rw-r--r-- | distrib/sparc/miniroot/dot.profile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/sparc/miniroot/dot.profile b/distrib/sparc/miniroot/dot.profile index f451bb92c57..f1c82e638aa 100644 --- a/distrib/sparc/miniroot/dot.profile +++ b/distrib/sparc/miniroot/dot.profile @@ -1,4 +1,4 @@ -# $OpenBSD: dot.profile,v 1.5 1997/05/05 13:55:28 grr Exp $ +# $OpenBSD: dot.profile,v 1.6 1997/05/05 16:31:40 grr Exp $ # $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $ # # Copyright (c) 1995 Jason R. Thorpe @@ -78,6 +78,8 @@ if [ "X${DONEPROFILE}" = "X" ]; then echo -n "$TERM can't handle $EDITOR" EDITOR="$DUMB" echo ", using $EDITOR as text editor!" + elif [ "X$EDITOR" = "X$EDITORS" ]; then + echo "Only one editor available, you get to use $EDITOR!" else _forceloop="" while [ "X$_forceloop" = X"" ]; do @@ -100,7 +102,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then _forceloop="" fi if [ "X$_forceloop" = "X" ]; then - echo "Sorry, we don't do $_choice here." + echo "Sorry, $_choice isn't available." _forceloop="" fi done @@ -108,8 +110,6 @@ if [ "X${DONEPROFILE}" = "X" ]; then fi export EDITOR -printenv - # Installing or upgrading? _forceloop="" while [ "X$_forceloop" = X"" ]; do |