paylad extracts in dedicated directory
the payload now extracts into either /tmp/tarinstall or $XDG_CACHE_HOME/tarinstall in order to avoid conflicts
This commit is contained in:
parent
2117ad85ab
commit
9c5341a976
@ -4,9 +4,9 @@
|
||||
# TODO: extract self without resolving to $0 because it doesn't resolve links
|
||||
|
||||
if [ -z "$XDG_CACHE_HOME" ]; then
|
||||
destdir=/tmp
|
||||
destdir=/tmp/tarinstall
|
||||
else
|
||||
destdir="$XDG_CACHE_HOME"
|
||||
destdir="$XDG_CACHE_HOME"/tarinstall
|
||||
fi
|
||||
|
||||
if ! [ "$(head -n 1 "$destdir"/ID/checksum 2>/dev/null)" = 'SUM' ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user