whonixsetup Whonix Repository Tool --cli on first startup bug

On first startup in CLI mode it has an error during whonixsetup.

Starting Whonix Repository Tool...
ERROR: --repository must be either stable, testers or developers.
###########################################################
## Something went wrong. Please report this bug!
##
## BASH_COMMAND: whonix_repository
###########################################################

Confirmed. It’s a bug.


To fix run the following commands.

sudo mkdir /var/cache/whonix-setup-wizard/status-files

sudo touch /var/cache/whonix-setup-wizard/status-files/whonix_repository.done

sudo whonixsetup

Will be fixed in Whonix 13.

https://github.com/Whonix/whonixsetup/commit/4b462a831b407c4001d8231c7e389eefdf03a059