Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Jul 31, 2024
1 parent cd910de commit c033c15
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions usr/share/usability-misc/dist-installer-cli-standalone
Original file line number Diff line number Diff line change
Expand Up @@ -2257,7 +2257,7 @@ install_repositories_for_virtualbox_on_debian(){

oracle_found=""
oracle_clearnet="download.virtualbox.org"
#oracle_onion=""
#oracle_onion="" ## non-existing
oracle_file_debsource="/etc/apt/sources.list.d/oracle.list"
oracle_prefix_debsource="deb [signed-by=/usr/share/keyrings/oracle-virtualbox-2016.asc] "
## Oracle does not have a Kali dist section, use Debian stable.
Expand Down Expand Up @@ -2301,6 +2301,7 @@ install_repositories_for_virtualbox_on_debian(){

kali_found=""
kali_clearnet="http.kali.org"
#kali_onion="" ## non-existing
kali_file_debsource="/etc/apt/sources.list.d/kali.list"
kali_prefix_debsource="deb "
kali_suffix_debsource=" ${distro_codename_common_use} main contrib non-free non-free-firmware"
Expand Down Expand Up @@ -2386,8 +2387,7 @@ install_repositories_for_virtualbox_on_debian(){
if test "${apt_onion}"; then
protocol_prefix_debsource="tor+http://"
connection_type_debsource="onion"
if test "${oracle_repo}" = "1" || test "${kali_derivative_detected}" = "1"
then
if test "${oracle_repo}" = "1" || test "${kali_derivative_detected}" = "1"; then
if test "${oracle_repo}" = "1"; then
log warn "Oracle doesn't provide onion repositories."
fi
Expand All @@ -2413,6 +2413,9 @@ install_repositories_for_virtualbox_on_debian(){
fi
protocol_prefix_debsource="https://"
fi
else
kali_domain_debsource="${kali_clearnet}"
oracle_domain_debsource="${oracle_clearnet}"
fi
kicksecure_domain_debsource="${kicksecure_onion}"
unstable_domain_debsource="${unstable_onion}"
Expand Down

0 comments on commit c033c15

Please sign in to comment.