Improve the Fedora target on bootstrap.sh

This commit is contained in:
Ribbon 2024-06-14 21:18:16 +00:00
parent db2da8206e
commit 55038ed4f6

View file

@ -530,7 +530,8 @@ fedora()
fi
# Use rpm -q <package> to check if it's already installed
PKGS=$(for pkg in file \
PKGS=$(for pkg in @development-tools \
file \
autoconf \
vim \
bison \
@ -583,7 +584,8 @@ fedora()
doxygen \
ant \
protobuf-compiler \
zstd ; do rpm -q $pkg > /dev/null || echo $pkg; done)
zstd \
lzip ; do rpm -q $pkg > /dev/null || echo $pkg; done)
# If the list of packages is not empty, install missing
COUNT=$(echo $PKGS | wc -w)
if [ $COUNT -ne 0 ]; then