repo.or.cz
/
gospodin_dotfiles.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
added /etc/profile.d files
[gospodin_dotfiles.git]
/
dox
/
setup
/
xdg_runtime_dir.sh
blob
ba1ddc03c4ff81741f60f598038543aec3948bec
1
if
test -z
"
${XDG_RUNTIME_DIR}
"
;
then
2
export
XDG_RUNTIME_DIR
=/
tmp
/
$
(
id
-u
)
-runtime-dir
3
if
!
test -d
"
${XDG_RUNTIME_DIR}
"
;
then
4
mkdir
"
${XDG_RUNTIME_DIR}
"
5
chmod
0700
"
${XDG_RUNTIME_DIR}
"
6
fi
7
fi