File: libgcrypt20.postinst

package info (click to toggle)
libgcrypt20 1.11.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,224 kB
  • sloc: ansic: 181,767; asm: 57,270; sh: 13,057; makefile: 880; sed: 37
file content (19 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
set -e

cleanup () {
	/usr/share/libgcrypt20/clean-up-unmanaged-libraries \
		--bug-ref=984884 \
		"$@" \
		#ENV.DEB_HOST_MULTIARCH# \
		libgcrypt.so.20
}

# Clean up stale shared libraries on upgrades if necessary.
if [ -n "$2" ] && ! cleanup; then
	echo "$0: Trying cleanup again with more logging..."
	cleanup --verbose
fi


#DEBHELPER#