Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Jul 29, 2024
1 parent 5ebec51 commit affb365
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions usr/share/usability-misc/dist-installer-cli-standalone
Original file line number Diff line number Diff line change
Expand Up @@ -3238,7 +3238,7 @@ Additional details:
get_version(){
log notice "Version Detection: Detecting guest version..."
if test -n "${guest_version:-}"; then
log notice "Version Detection: 'skipped' - Autodetection using API not required via '--dry_run' or '--dev' option."
log notice "Version Detection: 'skipped' - Autodetection using API not required via '--guest-version', '--dry-run' or '--dev' option."
return 0
fi
log info "Version Detection: Acquiring guest version using API..."
Expand Down Expand Up @@ -3944,7 +3944,6 @@ File name:

## Set default values for variables.
set_default(){

## Options
directory_prefix="${HOME}/dist-installer-cli-download"
guest=whonix
Expand Down Expand Up @@ -4249,14 +4248,14 @@ parse_opt(){
fi
if test "${dev}" = "1"; then
if test -z "${guest_version}"; then
log notice "Version Detection: Setting dev software version."
log notice "Version Detection: Setting development testing empty software version via '--dev' option."
guest_version="17.0.3.4"
fi
fi
if test "${dry_run}" = "1"; then
if test -z "${guest_version}"; then
log notice "Simulation: dry_run set, commands will be printed but not executed."
log notice "Version Detection: Using simulated software version because of dry_run."
log notice "Simulation: commands will be printed but not executed via '--dry-run' option."
log notice "Version Detection: Using simulated software version via '--dry-run' option."
guest_version="17.0.3.4"
fi
fi
Expand Down

0 comments on commit affb365

Please sign in to comment.