Skip to content

Commit

Permalink
bsdinstall: fix a couple stragglers in whitelabeling the scripts
Browse files Browse the repository at this point in the history
PR:		265797
Reviewed by:	allanjude, asiciliano
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D36235
  • Loading branch information
brd committed Sep 14, 2022
1 parent 2eddd8e commit 2913e78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion usr.sbin/bsdinstall/scripts/checksum
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
5 changes: 4 additions & 1 deletion usr.sbin/bsdinstall/scripts/fetchmissingdists
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2913e78

Please sign in to comment.