Skip to content

Commit

Permalink
auto-pkgsrc-setup: Switch to default-jdk-headless on Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
outpaddling committed Feb 14, 2023
1 parent 385490d commit ed00629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions User-scripts/auto-pkgsrc-setup
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ if [ `id -un` = root ]; then
yum install -y gcc-gfortran gcc-c++ gcc java-11-openjdk-devel tar git
elif [ -e /etc/debian_version ]; then
printf "Installing base development tools via apt...\n"
apt install -y gcc g++ gfortran openjdk-11-headless tar curl git
apt install -y gcc g++ gfortran default-jdk-headless tar curl git
fi
fi

Expand Down Expand Up @@ -201,7 +201,7 @@ On Linux systems you should also install gfortran along with gcc and g++.
On Debian-based systems:
apt install -y gcc g++ gfortran openjdk-11-headless tar curl git
apt install -y gcc g++ gfortran default-jdk-headless tar curl git
On Fedora/RHEL-based systems:
Expand Down

0 comments on commit ed00629

Please sign in to comment.