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
1 changed files with 1 additions and 1 deletions

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