Improve the Fedora target on bootstrap.sh
This commit is contained in:
parent
db2da8206e
commit
55038ed4f6
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue