debian/libgcrypt20.postinst
raw| 1 | #!/bin/sh |
| 2 | set -e |
| 3 | |
| 4 | cleanup () { |
| 5 | /usr/share/libgcrypt20/clean-up-unmanaged-libraries \ |
| 6 | --bug-ref=984884 \ |
| 7 | "$@" \ |
| 8 | #ENV.DEB_HOST_MULTIARCH# \ |
| 9 | libgcrypt.so.20 |
| 10 | } |
| 11 | |
| 12 | # Clean up stale shared libraries on upgrades if necessary. |
| 13 | if [ -n "$2" ] && ! cleanup; then |
| 14 | echo "$0: Trying cleanup again with more logging..." |
| 15 | cleanup --verbose |
| 16 | fi |
| 17 | |
| 18 | |
| 19 | #DEBHELPER# |