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:
parent
2eddd8ebf9
commit
2913e785f0
@ -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" \
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user