mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
base-files: xdg-runtime-dir: make sure that $UID has a proper value with a posix shell (dash).
This commit is contained in:
parent
cbfbb13ddd
commit
bc907f3a59
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
# Sets and creates XDG_RUNTIME_DIR.
|
# Sets and creates XDG_RUNTIME_DIR.
|
||||||
|
|
||||||
|
${UID:-$(id -u)}
|
||||||
|
|
||||||
if test -z "${XDG_RUNTIME_DIR}"; then
|
if test -z "${XDG_RUNTIME_DIR}"; then
|
||||||
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
|
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
|
||||||
if ! test -d "${XDG_RUNTIME_DIR}"; then
|
if ! test -d "${XDG_RUNTIME_DIR}"; then
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'base-files'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.104
|
version=0.106
|
||||||
revision=1
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style="meta"
|
build_style="meta"
|
||||||
|
|
Loading…
Add table
Reference in a new issue