1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-22 12:51:31 +03:00

add Fedora and Centos support to get-deps

This commit is contained in:
Pádraig Brady 2018-02-26 22:17:05 -08:00 committed by Wez Furlong
parent 984502f3d2
commit 27f1121be2

View File

@ -1,5 +1,20 @@
#!/bin/sh #!/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 case `lsb_release -ds` in
Ubuntu*) Ubuntu*)
apt-get install -y \ apt-get install -y \