diff options
Diffstat (limited to 'debian/adjust-openssl-dependencies')
-rwxr-xr-x | debian/adjust-openssl-dependencies | 5 |
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 @@ | |||
5 | client=debian/openssh-client.substvars | 5 | client=debian/openssh-client.substvars |
6 | server=debian/openssh-server.substvars | 6 | server=debian/openssh-server.substvars |
7 | 7 | ||
8 | libssl_version="$(dpkg-query -W libssl-dev 2>/dev/null | cut -f2)" | 8 | libssl_version="$(dpkg-query -W libssl1.0-dev 2>/dev/null | cut -f2)" |
9 | if [ -z "$libssl_version" ]; then | ||
10 | libssl_version="$(dpkg-query -W libssl-dev 2>/dev/null | cut -f2)" | ||
11 | fi | ||
9 | if [ -z "$libssl_version" ]; then | 12 | if [ -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 |