You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
179 B
7 lines
179 B
8 years ago
|
# Create/Set XDG_RUNTIME_DIR
|
||
|
if [ ! "$XDG_RUNTIME_DIR" ]; then
|
||
|
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
||
|
mkdir -p "$XDG_RUNTIME_DIR"
|
||
|
chmod 700 "$XDG_RUNTIME_DIR"
|
||
|
fi
|