From 994590dc20f7fa551561348244a082f55ab8e14c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 22 Aug 2014 15:08:57 +0200 Subject: [PATCH] base-files: xdg-runtime-dir: do previous in the correct way. --- srcpkgs/base-files/files/xdg-runtime-dir.sh | 4 +--- srcpkgs/base-files/template | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/srcpkgs/base-files/files/xdg-runtime-dir.sh b/srcpkgs/base-files/files/xdg-runtime-dir.sh index 5f7328005f6..0a6580b16f5 100644 --- a/srcpkgs/base-files/files/xdg-runtime-dir.sh +++ b/srcpkgs/base-files/files/xdg-runtime-dir.sh @@ -1,9 +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 + export XDG_RUNTIME_DIR=/tmp/${UID:-$(id -u)}-runtime-dir if ! test -d "${XDG_RUNTIME_DIR}"; then mkdir "${XDG_RUNTIME_DIR}" chmod 0700 "${XDG_RUNTIME_DIR}" diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template index c6dabe98489..cff4d44cdb2 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.106 +version=0.107 revision=1 bootstrap=yes build_style="meta"