Merge branch 'improve-fedora-target' into 'master'

Improve the Fedora target on bootstrap.sh

See merge request redox-os/redox!1451
This commit is contained in:
Jeremy Soller 2024-06-14 22:28:49 +00:00
commit 6efd1f5d17

View file

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