Merge pull request #378 from Danile71/2019

Fix error (libpng-0)
This commit is contained in:
Alexey Suhov 2020-02-06 19:38:41 +03:00 committed by GitHub
commit 651161be1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ if [ -f /etc/lsb-release ]; then
gstreamer1.0-plugins-base \ gstreamer1.0-plugins-base \
libusb-1.0-0-dev \ libusb-1.0-0-dev \
libopenblas-dev libopenblas-dev
if apt-cache search --names-only '^libpng12'| grep -q libpng12; then if apt-cache search --names-only '^libpng12-dev'| grep -q libpng12; then
sudo -E apt-get install -y libpng12-dev sudo -E apt-get install -y libpng12-dev
else else
sudo -E apt-get install -y libpng-dev sudo -E apt-get install -y libpng-dev
@ -160,4 +160,4 @@ elif [ -f /etc/os-release ] && grep -q "raspbian" /etc/os-release; then
fi fi
else else
echo "Unknown OS, please install build dependencies manually" echo "Unknown OS, please install build dependencies manually"
fi fi