We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c60513 commit d99adeaCopy full SHA for d99adea
functions/java-jre.bash
@@ -44,7 +44,7 @@ adoptium_fetch_apt() {
44
if ! cond_redirect apt-get update; then echo "FAILED (update apt lists)"; return 1; fi
45
46
# if on 32 bit OS, install unsupported Adoptium 32 bit from OpenEMS community project
47
- if [[ $(getconf LONG_BIT) == 32 ]]; then
+ if [[ $1 == "21" ]] && [[ $(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 --confnew; then echo "FAILED (dpkg)"; return 1; fi
0 commit comments