diff options
Diffstat (limited to 'data/libssl1.0/_metadata/preinst')
-rwxr-xr-x | data/libssl1.0/_metadata/preinst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/libssl1.0/_metadata/preinst b/data/libssl1.0/_metadata/preinst new file mode 100755 index 000000000..f38225d1e --- /dev/null +++ b/data/libssl1.0/_metadata/preinst @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ upgrade != "$1" ] || dpkg --compare-versions "$2" le "1.0.2s-1"; then + dpkg-divert --package libssl1.0 --add --rename \ + --divert /usr/lib/libcrypto.1.0.0.dylib.old /usr/lib/libcrypto.1.0.0.dylib + dpkg-divert --package libssl1.0 --add --rename \ + --divert /usr/lib/libssl.1.0.0.dylib.old /usr/lib/libssl.1.0.0.dylib +fi |