From a483df554e0445dc9d6483e87a63456e3b801671 Mon Sep 17 00:00:00 2001 From: fiftydinar <65243233+fiftydinar@users.noreply.github.com> Date: Wed, 9 Oct 2024 17:07:12 +0200 Subject: [PATCH] just: Some update in `configure-bluetooth-headset-profile` --- files/justfiles/gidro-os.just | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/justfiles/gidro-os.just b/files/justfiles/gidro-os.just index 7797ecaf..5f7f467a 100644 --- a/files/justfiles/gidro-os.just +++ b/files/justfiles/gidro-os.just @@ -315,7 +315,7 @@ configure-bluetooth-headset-profile ACTION="prompt": sudo rm -r "${WIREPLUMBER_DIR}" systemctl --user restart wireplumber echo 'Reverted setting "Bluetooth headset profile" to defaults.' - else + elif [ -f "${WIREPLUMBER_DIR}/${WIREPLUMBER_FILE}" ]; then sudo rm "${WIREPLUMBER_DIR}/${WIREPLUMBER_FILE}" systemctl --user restart wireplumber echo 'Reverted setting "Bluetooth headset profile" to defaults.'