Skip to content

Commit 5885132

Browse files
authored
40-de: ignore error when dir exists; fix #19
1 parent 2f81c8d commit 5885132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profile.d/40-desktopenvironments

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if test -z "${XDG_RUNTIME_DIR}"; then
99
else
1010
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
1111
if ! test -d "${XDG_RUNTIME_DIR}"; then
12-
mkdir "${XDG_RUNTIME_DIR}"
12+
mkdir -p "${XDG_RUNTIME_DIR}"
1313
chmod 0700 "${XDG_RUNTIME_DIR}"
1414
fi
1515
fi

0 commit comments

Comments
 (0)