From 57f94333edc25465634dda6a9aebf7aec3d3a38d Mon Sep 17 00:00:00 2001 From: Eva Emmerich Date: Sat, 7 Dec 2024 08:34:14 -0800 Subject: [PATCH] install the tor browser at install time --- scripts/InstallScripts/InstallPackages.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/InstallScripts/InstallPackages.sh b/scripts/InstallScripts/InstallPackages.sh index 4e295a3dd..501918927 100755 --- a/scripts/InstallScripts/InstallPackages.sh +++ b/scripts/InstallScripts/InstallPackages.sh @@ -105,6 +105,11 @@ device_model=$(get_device) # DEBIAN_FRONTEND=noninteractive apt install -y prawnos-gru-config # fi +if [[ $(uname -m) == "aarch64" ]] +then + # we only build tor for aarch64 aka arm64, sorry armhf + DEBIAN_FRONTEND=noninteractive apt install -y tor-browser +fi # remove some packages that we don't actually want. #TODO: determine what packages recommends are bringing these in @@ -124,6 +129,7 @@ then fi + clean_up_local_apt_repo apt clean -y && apt autoremove --purge -y