.profile: restaurar seteo de XDG_RUNTIME_DIR
Porque ahora uso elogind
This commit is contained in:
parent
5377d4430a
commit
d3854eb3e3
1 changed files with 7 additions and 7 deletions
14
.profile
14
.profile
|
@ -2,13 +2,13 @@
|
|||
|
||||
. /etc/profile
|
||||
|
||||
# if test -z "${XDG_RUNTIME_DIR}"; then
|
||||
# export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir
|
||||
# if ! test -d "${XDG_RUNTIME_DIR}"; then
|
||||
# mkdir "${XDG_RUNTIME_DIR}"
|
||||
# chmod 0700 "${XDG_RUNTIME_DIR}"
|
||||
# fi
|
||||
# fi
|
||||
if test -z "${XDG_RUNTIME_DIR}"; then
|
||||
export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir
|
||||
if ! test -d "${XDG_RUNTIME_DIR}"; then
|
||||
mkdir "${XDG_RUNTIME_DIR}"
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}"
|
||||
fi
|
||||
fi
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$HOME/go/bin:$PATH"
|
||||
|
|
Loading…
Reference in a new issue