Create OMF_PATH when installing offline

Fix #787
parent 37a20817
...@@ -225,6 +225,8 @@ function install_offline ...@@ -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"
......
bb1f4025934600ea6feef2ec11660e17e2b6449c5a23c033860aed712ad328c9 install c15695106a9f2411863cedf1c68c85cb1c3433e81266abf4a6d8c6ad4a65b521 install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment