Skip to content

Commit

Permalink
Fix Java install
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <[email protected]>
  • Loading branch information
ecdye committed Jan 24, 2022
1 parent 23d7918 commit 08bc4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/system.bash
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ system_upgrade() {
# bad packages may require interactive input despite of this setting so do not mask output (no cond_redirect)
if ! apt-get upgrade --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"; then echo "FAILED"; return 1; fi
if ! cond_redirect java -version &> /dev/null; then
if ! update_config_java "11" && java_install "11"; then echo "FAILED (install java)"; fi
update_config_java "11" && java_install "11"
fi
unset DEBIAN_FRONTEND
}
Expand Down

0 comments on commit 08bc4ff

Please sign in to comment.