diff options
Diffstat (limited to 'debian/adjust-openssl-dependencies')
-rwxr-xr-x | debian/adjust-openssl-dependencies | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/adjust-openssl-dependencies b/debian/adjust-openssl-dependencies index 5113ac164..cd740a8e1 100755 --- a/debian/adjust-openssl-dependencies +++ b/debian/adjust-openssl-dependencies | |||
@@ -28,8 +28,12 @@ server_udeb=debian/openssh-server-udeb.substvars | |||
28 | libcrypto_package="$(sed -n 's/.*[= ]\(libcrypto[0-9][a-z0-9+.-]*\).*/\1/p' "$client_udeb")" | 28 | libcrypto_package="$(sed -n 's/.*[= ]\(libcrypto[0-9][a-z0-9+.-]*\).*/\1/p' "$client_udeb")" |
29 | if [ "$libcrypto_package" ]; then | 29 | if [ "$libcrypto_package" ]; then |
30 | new_dep="$libcrypto_package (>= $libssl_version)" | 30 | new_dep="$libcrypto_package (>= $libssl_version)" |
31 | sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$client_udeb" | 31 | if [ -e "$client_udeb" ]; then |
32 | sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$server_udeb" | 32 | sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$client_udeb" |
33 | fi | ||
34 | if [ -e "$server_udeb" ]; then | ||
35 | sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$server_udeb" | ||
36 | fi | ||
33 | fi | 37 | fi |
34 | 38 | ||
35 | exit 0 | 39 | exit 0 |