diff --git a/srcpkgs/base-files/files/xdg-runtime-dir.sh b/srcpkgs/base-files/files/xdg-runtime-dir.sh index 583a5e234f3..5f7328005f6 100644 --- a/srcpkgs/base-files/files/xdg-runtime-dir.sh +++ b/srcpkgs/base-files/files/xdg-runtime-dir.sh @@ -1,5 +1,7 @@ # Sets and creates XDG_RUNTIME_DIR. +${UID:-$(id -u)} + if test -z "${XDG_RUNTIME_DIR}"; then export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir if ! test -d "${XDG_RUNTIME_DIR}"; then diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template index 335721b8907..c6dabe98489 100644 --- a/srcpkgs/base-files/template +++ b/srcpkgs/base-files/template @@ -1,6 +1,6 @@ # Template file for 'base-files' pkgname=base-files -version=0.104 +version=0.106 revision=1 bootstrap=yes build_style="meta"