From dc9d2c32d5feeadbe79ae960fd44da0a997b0a48 Mon Sep 17 00:00:00 2001 From: Pablo Santiago Blum de Aguiar Date: Thu, 22 Jul 2021 00:39:11 +0200 Subject: [PATCH] Remove leading path element when extracting tarball Ref.: #787 --- bin/install | 2 +- bin/install.sha256 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/install b/bin/install index 793cf62..bdec6ba 100755 --- a/bin/install +++ b/bin/install @@ -227,7 +227,7 @@ function install_offline mkdir -p "$OMF_PATH" - command tar -xf "$OFFLINE_PATH" -C "$OMF_PATH" + command tar -xf "$OFFLINE_PATH" -C "$OMF_PATH" --strip-components=1 or abort "Could not extract tar file $OFFLINE_PATH" return diff --git a/bin/install.sha256 b/bin/install.sha256 index 2395ab6..a052f5d 100644 --- a/bin/install.sha256 +++ b/bin/install.sha256 @@ -1 +1 @@ -c15695106a9f2411863cedf1c68c85cb1c3433e81266abf4a6d8c6ad4a65b521 install +c55853fcc09956fbea8f006a5b86705c71b879348a9240d8f014d0c81233ccf2 install