There was an error while loading. Please reload this page.
1 parent 3ada598 commit d33730dCopy full SHA for d33730d
1 file changed
functions/java-jre.bash
@@ -47,7 +47,7 @@ adoptium_fetch_apt() {
47
if [[ $(getconf LONG_BIT) == 32 ]]; then
48
if ! cond_redirect wget -nv -O "${cachedir}/${cachefile}" "${URL}/${pkgfile}"; then echo "FAILED (download JVM pkg)"; rm -f "${cachedir}/${cachefile}"; return 1; fi
49
else
50
- if ! cond_redirect dpkg --configure -a; then echo "FAILED (dpkg)"; return 1; fi
+ if ! cond_redirect dpkg --configure -a --confnew; then echo "FAILED (dpkg)"; return 1; fi
51
if cond_redirect apt-get install --download-only --yes "temurin-${1}-jre"; then echo "OK"; else echo "FAILED"; return 1; fi
52
fi
53
}
0 commit comments