File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,7 +103,17 @@ echo ""
103103info " Updating apt and installing prerequisites…"
104104export DEBIAN_FRONTEND=noninteractive
105105apt-get update -qq
106- apt-get install -y -qq file python3 > /dev/null 2>&1
106+ PREREQ_LOG=$( mktemp)
107+ if apt-get install -y -qq file python3 > " $PREREQ_LOG " 2>&1 ; then
108+ rm -f " $PREREQ_LOG "
109+ else
110+ echo " Prerequisites installation output:"
111+ cat " $PREREQ_LOG "
112+ rm -f " $PREREQ_LOG "
113+ fail " Prerequisites installation failed (file, python3)"
114+ diagnostics
115+ summary
116+ fi
107117
108118info " Installing package: $( basename " $PACKAGE_FILE " ) "
109119# apt-get resolves dependencies automatically and supports local .deb paths.
Original file line number Diff line number Diff line change @@ -114,7 +114,17 @@ echo ""
114114# ── Install ───────────────────────────────────────────────────────────────────
115115
116116info " Installing prerequisites…"
117- dnf install -y -q file python3 > /dev/null 2>&1 || true
117+ PREREQ_LOG=$( mktemp)
118+ if dnf install -y -q file python3 > " $PREREQ_LOG " 2>&1 ; then
119+ rm -f " $PREREQ_LOG "
120+ else
121+ echo " Prerequisites installation output:"
122+ cat " $PREREQ_LOG "
123+ rm -f " $PREREQ_LOG "
124+ fail " Prerequisites installation failed (file, python3)"
125+ diagnostics
126+ summary
127+ fi
118128
119129info " Installing package: $( basename " $PACKAGE_FILE " ) "
120130# Use dnf to resolve and satisfy dependencies automatically.
You can’t perform that action at this time.
0 commit comments