diff --git a/posix/payload b/posix/payload index 6adafff..aad4149 100755 --- a/posix/payload +++ b/posix/payload @@ -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