From 9926f740071a200cdffce1fb9f8b0ed15137a299 Mon Sep 17 00:00:00 2001 From: Jane Doe Date: Mon, 3 Mar 2025 15:13:04 +0000 Subject: [PATCH] Change: All Vanilla desktop setups: Do not enable 'bluetooth.service' when running inside a VM. --- Amelia.sh | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Amelia.sh b/Amelia.sh index 0576c3c..b1c8761 100644 --- a/Amelia.sh +++ b/Amelia.sh @@ -2,7 +2,7 @@ # Amelia Installer # Source: https://gitlab.com/prism7/archery -# Version: 8.9.1 +# Version: 8.9.2 set -euo pipefail ################################################################################################### @@ -6177,14 +6177,16 @@ SLICK fi fi - if [[ -n "${bluetooth}" ]]; then - local stage_prompt="Bluetooth Service Activation" - if arch-chroot /mnt <<-BLUETOOTH > /dev/null 2>&1 2> amelia_log.txt ; then - systemctl enable ${bluetooth} || exit + if [[ "${vendor}" != "Virtual Machine" ]]; then + if [[ -n "${bluetooth}" ]]; then + local stage_prompt="Bluetooth Service Activation" + if arch-chroot /mnt <<-BLUETOOTH > /dev/null 2>&1 2> amelia_log.txt ; then + systemctl enable ${bluetooth} || exit BLUETOOTH - stage_ok - else - stage_fail + stage_ok + else + stage_fail + fi fi fi