File: post_remove_exceptions_lenny

package info (click to toggle)
piuparts 1.6.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72,532 kB
  • sloc: python: 8,240; sh: 4,367; makefile: 171
file content (25 lines) | stat: -rwxr-xr-x 501 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
20
21
22
23
24
25
#!/bin/sh
set -e

log_debug() {
	echo "Debug: piuparts exception for package $PIUPARTS_OBJECTS"
}

case "$PIUPARTS_DISTRIBUTION" in
	lenny) : ;;
	*) exit 0 ;;
esac

case ${PIUPARTS_OBJECTS%%=*} in
	apt-xapian-index)
		# wait for update-apt-xapian-index in the background to finish
		log_debug
		sleep 30
		;;
	postgis)
		#560409: postgis can't be purged if postgresql is no longer installed
	        # (fails due to a missing directory)
		log_debug
		mkdir -p -v /usr/lib/postgresql/8.3/lib
		;;
esac