Merge pull request #11 from tymcauley/master
Add setcap installation to Debian
This commit is contained in:
@@ -140,6 +140,14 @@ function InstallDependenciesDebian {
|
|||||||
echo "done"
|
echo "done"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# install setcap for non-root port binding if missing
|
||||||
|
if [[ -z $(which setcap) ]]; then
|
||||||
|
echo
|
||||||
|
echo -n "Installing setcap..."
|
||||||
|
apt-get install -y libcap2-bin >/dev/null
|
||||||
|
echo "done"
|
||||||
|
fi
|
||||||
|
|
||||||
# only install yarn repo and package if not found
|
# only install yarn repo and package if not found
|
||||||
if [[ -z $(dpkg -l | grep yarn) ]]; then
|
if [[ -z $(dpkg -l | grep yarn) ]]; then
|
||||||
echo
|
echo
|
||||||
|
Reference in New Issue
Block a user