bsdinstall: restore --calendar

Restore --calendar to select a date because bsddialog(1) >= 0.4
provides a calendar dialog.
This commit is contained in:
Alfonso S. Siciliano 2023-10-11 15:48:53 +02:00
parent 281a9715b5
commit 160ccec84c
No known key found for this signature in database
GPG key ID: 3F9EEFACFD371E37

View file

@ -44,7 +44,7 @@ DATE=$(bsddialog --backtitle "$OSNAME Installer" \
--cancel-label 'Skip' \
--default-no \
--date-format '%Y%m%d%H%M.%S' \
--datebox '' 0 40 \
--calendar '' 0 40 \
2>&1 1>&5) && date $DATE
exec 5>&-