Create OMF_PATH when installing offline

Fix #787
This commit is contained in:
Pablo Santiago Blum de Aguiar 2021-07-22 00:37:28 +02:00
parent 37a208177e
commit 8ad49c583b
2 changed files with 3 additions and 1 deletions

View File

@ -225,6 +225,8 @@ function install_offline
if test -f "$OFFLINE_PATH" if test -f "$OFFLINE_PATH"
say "Offline path is a file, assuming tar archive..." say "Offline path is a file, assuming tar archive..."
mkdir -p "$OMF_PATH"
command tar -xf "$OFFLINE_PATH" -C "$OMF_PATH" command tar -xf "$OFFLINE_PATH" -C "$OMF_PATH"
or abort "Could not extract tar file $OFFLINE_PATH" or abort "Could not extract tar file $OFFLINE_PATH"

View File

@ -1 +1 @@
bb1f4025934600ea6feef2ec11660e17e2b6449c5a23c033860aed712ad328c9 install c15695106a9f2411863cedf1c68c85cb1c3433e81266abf4a6d8c6ad4a65b521 install