Remove leading path element when extracting tarball

Ref.: #787
This commit is contained in:
Pablo Santiago Blum de Aguiar 2021-07-22 00:39:11 +02:00
parent 8ad49c583b
commit dc9d2c32d5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -1 +1 @@
c15695106a9f2411863cedf1c68c85cb1c3433e81266abf4a6d8c6ad4a65b521 install
c55853fcc09956fbea8f006a5b86705c71b879348a9240d8f014d0c81233ccf2 install