Skip to content

Commit

Permalink
install-dependencies.sh: do not install weak dependencies
Browse files Browse the repository at this point in the history
Especially for Java, we really do not need the tens of packages and MBs it adds, just
because Java apps can be built and use sound and graphics and whatnot.

Signed-off-by: Yaniv Kaul <[email protected]>
  • Loading branch information
mykaul authored and avikivity committed Sep 7, 2023
1 parent 585b30f commit 9dddad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
if [ "$ID" = "ubuntu" ] || [ "$ID" = "debian" ]; then
apt -y install openjdk-8-jdk-headless ant ant-optional python
elif [ "$ID" = "fedora" ] || [ "$ID" = "centos" ]; then
dnf install -y ant java-1.8.0-openjdk-devel python ant-junit fakeroot
dnf install -y --setopt=install_weak_deps=False ant java-1.8.0-openjdk-devel python ant-junit fakeroot
fi

0 comments on commit 9dddad2

Please sign in to comment.