Commit 1ebac8a0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-altlinux-contents-index: use /tmp if TMPDIR is empty

parent a7e2ae3c
......@@ -38,6 +38,9 @@ get_alt_repo_path()
# convert "http://download.etersoft.ru/pub/ALTLinux/p8/branch x86_64" to /tmp/epm/ALTLinux/p8/branch/x86_64
get_local_alt_mirror_path()
{
# FIXME: by some reason missed in ALT docker image (no login?)
[ -n "$TMPDIR" ] || TMPDIR=/tmp
# TODO: /var/cache/eepm
echo "$TMPDIR/eepm/$(get_alt_repo_path "$1")"
}
......
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