summaryrefslogtreecommitdiff
path: root/debian/adjust-openssl-dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'debian/adjust-openssl-dependencies')
-rwxr-xr-xdebian/adjust-openssl-dependencies5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/adjust-openssl-dependencies b/debian/adjust-openssl-dependencies
index 9daa9b415..5113ac164 100755
--- a/debian/adjust-openssl-dependencies
+++ b/debian/adjust-openssl-dependencies
@@ -5,7 +5,10 @@
5client=debian/openssh-client.substvars 5client=debian/openssh-client.substvars
6server=debian/openssh-server.substvars 6server=debian/openssh-server.substvars
7 7
8libssl_version="$(dpkg-query -W libssl-dev 2>/dev/null | cut -f2)" 8libssl_version="$(dpkg-query -W libssl1.0-dev 2>/dev/null | cut -f2)"
9if [ -z "$libssl_version" ]; then
10 libssl_version="$(dpkg-query -W libssl-dev 2>/dev/null | cut -f2)"
11fi
9if [ -z "$libssl_version" ]; then 12if [ -z "$libssl_version" ]; then
10 echo "Can't find libssl-dev version; leaving dependencies alone." 13 echo "Can't find libssl-dev version; leaving dependencies alone."
11 exit 0 14 exit 0