Skip to content

Commit d33730d

Browse files
committed
force latest pkg config on dpkg install to avoid hanging in question
Signed-off-by: Markus Storm <markus.storm@gmx.net>
1 parent 3ada598 commit d33730d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

functions/java-jre.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ adoptium_fetch_apt() {
4747
if [[ $(getconf LONG_BIT) == 32 ]]; then
4848
if ! cond_redirect wget -nv -O "${cachedir}/${cachefile}" "${URL}/${pkgfile}"; then echo "FAILED (download JVM pkg)"; rm -f "${cachedir}/${cachefile}"; return 1; fi
4949
else
50-
if ! cond_redirect dpkg --configure -a; then echo "FAILED (dpkg)"; return 1; fi
50+
if ! cond_redirect dpkg --configure -a --confnew; then echo "FAILED (dpkg)"; return 1; fi
5151
if cond_redirect apt-get install --download-only --yes "temurin-${1}-jre"; then echo "OK"; else echo "FAILED"; return 1; fi
5252
fi
5353
}

0 commit comments

Comments
 (0)