1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-07 07:02:53 +03:00

Changes for building in Debian (#943)

Summary:
Some changes that had to be done in Debian for the build to work:

* Installation of system deps failed as it was not detecting the OS correctly
* Updated the CMake manifest to uncomment the deb dependency as the CMake versions are newer
* fb303 was not getting cloned as it was looking for a non-existent master branch

Pull Request resolved: https://github.com/facebook/watchman/pull/943

Differential Revision: D30700180

Pulled By: fanzeyi

fbshipit-source-id: 62eb9f8ba57510eb98d6bd56e40384bf38a74d8c
This commit is contained in:
Anuradha Weeraman
2021-09-02 10:30:44 -07:00
committed by Facebook GitHub Bot
parent 921da2657c
commit 36f2a4f2b7
3 changed files with 4 additions and 4 deletions

View File

@@ -101,7 +101,7 @@ class HostType(object):
return None
if self.distro in ("fedora", "centos"):
return "rpm"
if self.distro in ("debian", "ubuntu"):
if self.distro.startswith(("debian", "ubuntu")):
return "deb"
return None