diff options
author | jkh <jkh@FreeBSD.org> | 1994-11-18 11:01:33 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-11-18 11:01:33 +0000 |
commit | a7ca701dd56821f2d071547c1f5ee5f5c5480abe (patch) | |
tree | 657f66959f5d46fd3c06689f3a1acff703ad759d /release/miscfuncs.sh | |
parent | 9c95cf63dcd41a6fd6ec7ab76d51918e8ed9462d (diff) | |
download | FreeBSD-src-a7ca701dd56821f2d071547c1f5ee5f5c5480abe.zip FreeBSD-src-a7ca701dd56821f2d071547c1f5ee5f5c5480abe.tar.gz |
1. Use dynamic sizing code throughout.
2. Add support for *dist menu to have an up-to-date idea of how big each
distribution is going to be.
Diffstat (limited to 'release/miscfuncs.sh')
-rw-r--r-- | release/miscfuncs.sh | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/release/miscfuncs.sh b/release/miscfuncs.sh index ab1e222..0a8e700 100644 --- a/release/miscfuncs.sh +++ b/release/miscfuncs.sh @@ -10,7 +10,7 @@ # putting your name on top after doing something trivial like reindenting # it, just to make it look like you wrote it!). # -# $Id: miscfuncs.sh,v 1.1 1994/11/16 07:51:43 jkh Exp $ +# $Id: miscfuncs.sh,v 1.2 1994/11/17 11:53:14 jkh Exp $ if [ "$_MISCFUNCS_SH_LOADED_" = "yes" ]; then return 0 @@ -20,8 +20,24 @@ fi PATH=/usr/bin:/usr/sbin:/bin:/sbin:/stand export PATH + +# Keep this current with the distribution! DISTNAME=2.0-ALPHA +# Flagrant guesses for now. These need to be hand-edited or, much better yet, +# automatically done as part of the release process. When that's the case, +# the hardwired constants will be replaced with tokens that get sed'd for +# the real sizes. +# +BINSIZE="60MB" +GAMESIZE="8MB" +MANSIZE="8MB" +PROFSIZE="4MB" +DICTSIZE="2MB" +SRCSIZE="120MB" +SECRSIZE="4MB" +COMPATSIZE="3MB" + interrupt() { if dialog --clear --title "User Interrupt Requested" \ --yesno "Do you wish to abort the installation?" -1 -1; then @@ -52,7 +68,7 @@ confirm() { # A simple message box dialog. message() { - dialog --title "Progress" --infobox "$*" 5 72 + dialog --title "Progress" --infobox "$*" -1 -1 } # A simple error dialog. @@ -65,7 +81,7 @@ not_supported() { dialog --title "Sorry!" \ --msgbox "This feature is not supported in the current version of the \ installation tools. Barring some sort of fatal accident, we do \ -expect it to be in the release. Please press RETURN to go on." 10 60 +expect it to be in the release. Please press RETURN to go on." -1 -1 } # Get a string from the user |