diff --git a/src/install.sh b/src/install.sh index bbf42d1..f9d4938 100644 --- a/src/install.sh +++ b/src/install.sh @@ -165,8 +165,12 @@ if { tar tf "$PAT"; } >/dev/null 2>&1; then else - { (cd "$TMP" && python3 /run/patology.py -i "$PAT" -d >/dev/null); rc=$?; } || : - (( rc != 0 )) && error "Failed to extract PAT file, reason $rc" && exit 63 + { (cd "$TMP" && python3 /run/extract.py -i "$PAT" -d 2>/run/extract.log); rc=$?; } || : + + if (( rc != 0 )); then + cat /run/extract.log + error "Failed to extract PAT file, reason $rc" && exit 63 + fi fi