Make sure the user pulse configureation directory exists before creating the updated file.

This commit is contained in:
Storm Dragon 2022-03-03 14:22:32 -05:00
parent 0ed4eef266
commit a0de790154

View File

@ -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