Skip to content

Commit

Permalink
add Fedora and Centos support to get-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelb authored and wez committed Feb 27, 2018
1 parent 984502f commit 27f1121
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions get-deps
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
#!/bin/sh

# Centos may not have lsb_release installed
if test -e /etc/centos-release || test -e /etc/fedora-release; then
yum install -y \
cmake \
libxcb-devel \
xcb-util-keysyms-devel \
xcb-util-wm-devel \
fontconfig-devel \
freetype-devel \
mesa-libEGL-devel \
harfbuzz-devel \
ragel
exit $?
fi

case `lsb_release -ds` in
Ubuntu*)
apt-get install -y \
Expand Down

0 comments on commit 27f1121

Please sign in to comment.