Skip to content

Commit

Permalink
update Java default repo
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Storm <markus.storm@gmx.net>
  • Loading branch information
mstormi committed Apr 7, 2024
1 parent 71f9d9f commit 6189c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/java-jre.bash
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ java_install() {
openjdk_fetch_apt() {
if ! apt-cache show "openjdk-${1}-jre-headless" &> /dev/null; then
if is_pi; then
echo "deb http://archive.raspberrypi.org/debian/ ${osrelease:-bullseye} main" > /etc/apt/sources.list.d/java.list
echo "deb http://archive.raspberrypi.org/debian/ ${osrelease:-bookworm} main" > /etc/apt/sources.list.d/java.list
else
echo "deb http://deb.debian.org/debian/ stable main" > /etc/apt/sources.list.d/java.list
fi
Expand Down

0 comments on commit 6189c16

Please sign in to comment.