From 08bc4ff34e8b7b059c126b6b999039cef7b48d33 Mon Sep 17 00:00:00 2001 From: Ethan Dye Date: Mon, 24 Jan 2022 16:28:12 -0700 Subject: [PATCH] Fix Java install Signed-off-by: Ethan Dye --- functions/system.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/system.bash b/functions/system.bash index b6d9dd92e..37060a2d3 100644 --- a/functions/system.bash +++ b/functions/system.bash @@ -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 }