---
 .travis.yml           | 2 +-
 ci/net-snmp-configure | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index dc5c7d9a213f..ef5d809b148d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,7 @@ addons:
       - libatm-dev
       - libperl-dev
       - libsensors4-dev
-      - libssh-dev
+      - libssh2-1-dev
       - libssl-dev
       - make
       - perl-modules
diff --git a/ci/net-snmp-configure b/ci/net-snmp-configure
index 22231125b184..bae605e80930 100755
--- a/ci/net-snmp-configure
+++ b/ci/net-snmp-configure
@@ -27,7 +27,8 @@ opensshver="$({
     rpm -q openssh-devel;
     rpm -q libssh2-devel;
     rpm -q libssh-devel; } 2>/dev/null |
-    sed -n 's/^.*ssh[0-9]*-devel-\([0-9a-z.]*\)-.*$/\1/p' | head -n1)"
+    sed -n 's/^.*ssh[0-9]*-devel-\([0-9a-z.]*\)-.*$/\1/p' | head -n1;
+    dpkg-query --show -f '${Version}\n' libssh2-1-dev 2>/dev/null)"
 
 options=()
 options+=(--enable-developer)
-- 
2.17.1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to