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
This commit is contained in:
Alfonso S. Siciliano 2022-03-29 16:39:43 +02:00
parent 5d0c76c730
commit 48af6ad902
No known key found for this signature in database
GPG Key ID: 3F9EEFACFD371E37

View File

@ -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