mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-04 07:27:19 +08:00
Update install.sh
This commit is contained in:
parent
1a3eacbba7
commit
f5aaa8a104
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user