mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Install JRE instead of JDK in install script (#883)
Should reduce the size of packages needed to be downloaded
This commit is contained in:
@@ -53,11 +53,11 @@ else
|
||||
echo 'GOVERNOR=performance' > /etc/default/cpufrequtils
|
||||
fi
|
||||
|
||||
echo "Installing the JDK..."
|
||||
if ! package_is_installed openjdk-11-jdk-headless
|
||||
echo "Installing the JRE..."
|
||||
if ! package_is_installed openjre-11-jre-headless
|
||||
then
|
||||
apt-get update
|
||||
apt-get install --yes openjdk-11-jdk-headless
|
||||
apt-get install --yes openjre-11-jre-headless
|
||||
fi
|
||||
echo "JDK installation complete."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user