File: libldap2.prerm

package info (click to toggle)
openldap2 2.0.23-6.3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 7,816 kB
  • ctags: 6,366
  • sloc: ansic: 86,391; sh: 9,816; makefile: 1,270; cpp: 1,107; sql: 838; php: 700; perl: 134; tcl: 40
file content (26 lines) | stat: -rw-r--r-- 261 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

pkg=libpdap2

set -e

update_ldconfig() {
	if [ -x /sbin/ldconfig ] ; then
		ldconfig
	fi
}

update_doclink() {
	if [ -L /usr/doc/$pkg  ] ; then
		rm -f /usr/doc/$pkg
	fi

}

if [ "$1" = "remove" ] ; then
	update_ldconfig
	update_doclink
fi

exit 0