summaryrefslogtreecommitdiff
path: root/distrib/alpha/ramdisk/dot.profile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/alpha/ramdisk/dot.profile')
-rw-r--r--distrib/alpha/ramdisk/dot.profile23
1 files changed, 20 insertions, 3 deletions
diff --git a/distrib/alpha/ramdisk/dot.profile b/distrib/alpha/ramdisk/dot.profile
index 94d2d98b947..41603c0c07c 100644
--- a/distrib/alpha/ramdisk/dot.profile
+++ b/distrib/alpha/ramdisk/dot.profile
@@ -1,5 +1,5 @@
#
-# $OpenBSD: dot.profile,v 1.7 1997/10/25 05:40:55 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.8 1998/04/13 01:04:26 millert Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -93,6 +93,23 @@ if [ "X${DONEPROFILE}" = "X" ]; then
. /.commonutils
. /.instutils
- # run the installation script.
- install
+ # Installing or upgrading?
+ _forceloop=""
+ while [ "X$_forceloop" = X"" ]; do
+ echo -n '(I)nstall or (U)pgrade? '
+ read _forceloop
+ case "$_forceloop" in
+ i*|I*)
+ /install
+ ;;
+
+ u*|U*)
+ /upgrade
+ ;;
+
+ *)
+ _forceloop=""
+ ;;
+ esac
+ done
fi