Make sure the user pulse configureation directory exists before creating the updated file.
This commit is contained in:
parent
0ed4eef266
commit
a0de790154
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user