.profile: restaurar seteo de XDG_RUNTIME_DIR

Porque ahora uso elogind
This commit is contained in:
Cat /dev/Nulo 2021-10-30 10:53:37 -03:00
parent 5377d4430a
commit d3854eb3e3

View file

@ -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"