Add TMPDIR support

This commit is contained in:
zawz 2020-07-07 14:43:44 +02:00
parent fdefa19c05
commit 510bd5e874

View file

@ -2,7 +2,9 @@
linuxpkgnames=""
lock_file=/tmp/sysupdate.lock
[ -z "$TMPDIR" ] && TMPDIR=/tmp
lock_file="$TMPDIR/sysupdate.lock"
get_running_programs()
{