No need to store users local .cache directory on NFS home directories. Use tmpfs which is much faster.
6 lines
225 B
Tcsh
6 lines
225 B
Tcsh
if ($uid > 999 && "`/usr/bin/id -gn`" == "`/usr/bin/id -un`") then
|
|
setenv XDG_CACHE_HOME "${XDG_RUNTIME_DIR}/.cache"
|
|
if ( ! -d "${XDG_CACHE_HOME}" ) then
|
|
install -d -m 0700 "${XDG_CACHE_HOME}"
|
|
endif
|
|
endif
|