1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-03-09 22:09:47 -04:00

Make sure that tar extracts the changes archive in the correct folder (and not the working dir, whatever it may be)

This commit is contained in:
Reinhard Pointner 2019-05-20 14:58:34 +07:00
parent a9285d53fd
commit 36d358c41b

View File

@ -40,5 +40,5 @@ curl -L -o "$PACKAGE_FILE" -z "$PACKAGE_FILE" --retry 5 "$PACKAGE_URL"
# verify signature and extract tar
if gpgv --homedir "$FILEBOT_HOME" --keyring "maintainer.gpg" "$SIGNATURE_FILE" "$PACKAGE_FILE"; then
tar -xvf "$PACKAGE_FILE"
tar -C "$FILEBOT_HOME" -xvf "$PACKAGE_FILE"
fi