Commit 4b83005e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-functions: fix BIGTMPDIR

parent 01e5299d
......@@ -836,7 +836,10 @@ set_bigtmpdir()
# https://bugzilla.mozilla.org/show_bug.cgi?id=69938
# https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s15.html
# https://geekpeach.net/ru/%D0%BA%D0%B0%D0%BA-systemd-tmpfiles-%D0%BE%D1%87%D0%B8%D1%89%D0%B0%D0%B5%D1%82-tmp-%D0%B8%D0%BB%D0%B8-var-tmp-%D0%B7%D0%B0%D0%BC%D0%B5%D0%BD%D0%B0-tmpwatch-%D0%B2-centos-rhel-7
[ -z "$BIGTMPDIR" ] && [ -d "/var/tmp" ] && BIGTMPDIR="/var/tmp" || BIGTMPDIR="$TMPDIR"
if [ -z "$BIGTMPDIR" ] ; then
BIGTMPDIR="/var/tmp"
[ -d "$BIGTMPDIR" ] || BIGTMPDIR="$TMPDIR"
fi
export BIGTMPDIR
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment