From a0de79015450a71555413473fe4f0b36859d192e Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 3 Mar 2022 14:22:32 -0500 Subject: [PATCH] Make sure the user pulse configureation directory exists before creating the updated file. --- tools/configure_pulse.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/configure_pulse.sh b/tools/configure_pulse.sh index 150ded1e..bad5f107 100755 --- a/tools/configure_pulse.sh +++ b/tools/configure_pulse.sh @@ -5,6 +5,7 @@ if [[ $(whoami) != "root" ]]; then # Get the current user's XDG_HOME xdgPath="${XDG_CONFIG_HOME:-$HOME/.config}" +mkdir -p "$xdgPath/pulse" # Warn user if we are going to overwrite an existing default.pa if [ -f "$xdgPath/pulse/default.pa" ]; then