mid-kid
8 years ago
3 changed files with 7 additions and 8 deletions
@ -0,0 +1,6 @@ |
|||||
|
# 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 |
Loading…
Reference in new issue