git: 48af6ad90264 - main - bsdinstall fetchmissingdists: Replace dialog with bsddialog

From: Alfonso S. Siciliano <asiciliano_at_FreeBSD.org>
Date: Tue, 29 Mar 2022 14:43:26 UTC
The branch main has been updated by asiciliano:

URL: https://cgit.FreeBSD.org/src/commit/?id=48af6ad902640abfcd19578b3f2e6f8a073d349d

commit 48af6ad902640abfcd19578b3f2e6f8a073d349d
Author:     Alfonso S. Siciliano <asiciliano@FreeBSD.org>
AuthorDate: 2022-03-29 14:39:43 +0000
Commit:     Alfonso S. Siciliano <asiciliano@FreeBSD.org>
CommitDate: 2022-03-29 14:43:01 +0000

    bsdinstall fetchmissingdists: Replace dialog with bsddialog
    
    Replace (LGPL) dialog utility with (BSD-2-Clause) bsddialog utility.
    
    Approved by:            bapt (mentor)
    Differential Revision:  https://reviews.freebsd.org/D34654
---
 usr.sbin/bsdinstall/scripts/fetchmissingdists | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/bsdinstall/scripts/fetchmissingdists b/usr.sbin/bsdinstall/scripts/fetchmissingdists
index 820a5275b2c9..97a108de1e11 100644
--- a/usr.sbin/bsdinstall/scripts/fetchmissingdists
+++ b/usr.sbin/bsdinstall/scripts/fetchmissingdists
@@ -30,7 +30,7 @@
 
 error()
 {
-	dialog --backtitle "FreeBSD Installer" --title "Error" --msgbox "$1" 0 0
+	bsddialog --backtitle "FreeBSD Installer" --title "Error" --msgbox "$1" 0 0
 	exit 1
 }
 
@@ -79,7 +79,7 @@ else
 	VERIFY_MANIFEST_SIG=1
 
 	# XXX actually verify signature on manifest
-	dialog --backtitle "FreeBSD Installer" --title "Warning" --msgbox "Manifest not found on local disk and will be fetched from an unverified source. This is a potential security risk. If you do not wish to proceed, press control-C now." 0 0
+	bsddialog --backtitle "FreeBSD Installer" --title "Warning" --msgbox "Manifest not found on local disk and will be fetched from an unverified source. This is a potential security risk. If you do not wish to proceed, press control-C now." 0 0
 fi
 
 if [ ! -z "$LOCAL_DISTRIBUTIONS" ]; then