From 7682acb7d98a9d64b770de70cd5e0efd0288fee9 Mon Sep 17 00:00:00 2001 From: keblek <68111648+keblek@users.noreply.github.com> Date: Sun, 31 Jan 2021 20:14:26 +0100 Subject: [PATCH] Removed -y flag in apt command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Someone could copy paste it and with the y flag it would automatically install. It’s Java on Ubuntu so it’s probably fine, but it’s a bad precedent to have commands that change so much in a users system without them explicitly approving. This is an opinion. --- node_client.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_client.asciidoc b/node_client.asciidoc index 8ab9336..cac77ad 100644 --- a/node_client.asciidoc +++ b/node_client.asciidoc @@ -840,7 +840,7 @@ The required Java compiler is part of OpenJDK 11. We will also need a build fram On a Debian/Ubuntu Linux system we can use the +apt+ command to install both OpenJDK11 and Maven as shown below: ---- -$ sudo apt install -y openjdk-11-jdk maven +$ sudo apt install openjdk-11-jdk maven ---- Verify that you have the correct version installed by running: