bsdinstall: fix a couple stragglers in whitelabeling the scripts

PR:		265797
Reviewed by:	allanjude, asiciliano
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D36235
This commit is contained in:
Brad Davis 2022-09-14 11:04:07 -06:00
parent 2eddd8ebf9
commit 2913e785f0
2 changed files with 5 additions and 2 deletions

View File

@ -68,7 +68,7 @@ for dist in $DISTRIBUTIONS; do
case $(/bin/freebsd-version -u) in
*-ALPHA*|*-CURRENT|*-STABLE|*-PRERELEASE)
bsddialog --backtitle "$OSNAME Installer" --title "Error" \
--msgbox "The checksum for $dist does not match. It may have become corrupted, or it may be from a newer version of FreeBSD. Please check for a newer snapshot." 0 0
--msgbox "The checksum for $dist does not match. It may have become corrupted, or it may be from a newer version of $OSNAME. Please check for a newer snapshot." 0 0
;;
*)
bsddialog --backtitle "$OSNAME Installer" --title "Error" \

View File

@ -28,9 +28,12 @@
# $FreeBSD$
#
BSDCFG_SHARE="/usr/share/bsdconfig"
. $BSDCFG_SHARE/common.subr || exit 1
error()
{
bsddialog --backtitle "FreeBSD Installer" --title "Error" --msgbox "$1" 0 0
bsddialog --backtitle "$OSNAME Installer" --title "Error" --msgbox "$1" 0 0
exit 1
}