From f5aaa8a104ff6340ec243534dbbc2d4de62ceb94 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 26 Mar 2025 02:03:45 +0100 Subject: [PATCH] Update install.sh --- src/install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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