Index: build/install-build-deps.sh |
=================================================================== |
--- build/install-build-deps.sh (revision 201604) |
+++ build/install-build-deps.sh (working copy) |
@@ -140,7 +140,7 @@ |
else |
dev_list="${dev_list} libjpeg62-dev" |
fi |
-if apt-cache show libudev1 >/dev/null 2>&1; then |
+if [ "$(apt-cache pkgnames libudev1 2>&1)" == "libudev1" ] ; then |
dev_list="${dev_list} libudev1" |
else |
dev_list="${dev_list} libudev0" |