diff options
Diffstat (limited to 'openrc/conf.d/user.template')
| -rw-r--r-- | openrc/conf.d/user.template | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/openrc/conf.d/user.template b/openrc/conf.d/user.template deleted file mode 100644 index 2bf637b..0000000 --- a/openrc/conf.d/user.template +++ /dev/null @@ -1,15 +0,0 @@ -UID="$$(id -u ${USER})" -if test -z "$${XDG_RUNTIME_DIR}"; then - export XDG_RUNTIME_DIR=/tmp/xdg/"$${UID}"-xdg-runtime-dir - if ! test -d "$${XDG_RUNTIME_DIR}"; then - mkdir -p "$${XDG_RUNTIME_DIR}" - chown -R ${USER}:${USER} "$${XDG_RUNTIME_DIR}" - chmod -R 0700 "$${XDG_RUNTIME_DIR}" - fi -fi -if ! test -f "$${XDG_RUNTIME_DIR}/openrc/softlevel"; then - mkdir -p "$${XDG_RUNTIME_DIR}/openrc" - touch "$${XDG_RUNTIME_DIR}/openrc/softlevel" - chown -R ${USER}:${USER} "$${XDG_RUNTIME_DIR}" - chmod -R 0700 "$${XDG_RUNTIME_DIR}" -fi |
