Skip to content

Commit 9dddad2

Browse files
mykaulavikivity
authored andcommitted
install-dependencies.sh: do not install weak dependencies
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]>
1 parent 585b30f commit 9dddad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-dependencies.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
if [ "$ID" = "ubuntu" ] || [ "$ID" = "debian" ]; then
2323
apt -y install openjdk-8-jdk-headless ant ant-optional python
2424
elif [ "$ID" = "fedora" ] || [ "$ID" = "centos" ]; then
25-
dnf install -y ant java-1.8.0-openjdk-devel python ant-junit fakeroot
25+
dnf install -y --setopt=install_weak_deps=False ant java-1.8.0-openjdk-devel python ant-junit fakeroot
2626
fi

0 commit comments

Comments
 (0)