File: post_remove_exceptions_lenny

package info (click to toggle)
piuparts 0.62
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 1,692 kB
  • sloc: python: 6,823; sh: 2,194; makefile: 126
file content (20 lines) | stat: -rwxr-xr-x 376 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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
	postgis)
		#WORKSAROUND #560409: postgis can't be purged if postgresql
		# is not installed due to missing directory
		log_debug
		mkdir -p /usr/lib/postgresql/8.3/lib
		;;
esac