File: installcheck

package info (click to toggle)
pgsql-ogr-fdw 1.1.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 696 kB
  • sloc: ansic: 4,114; makefile: 62; sql: 36; sh: 15
file content (12 lines) | stat: -rwxr-xr-x 338 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Force port 5432 and trust because we connect back to ourselves;
# stop any other running instance on 5432.

service postgresql stop

pg_buildext -c '--port=5432' -i '--auth=trust' installcheck ||
	case $(dpkg-architecture -qDEB_BUILD_ARCH_BITS) in
		32) echo "Ignoring test failure on 32-bit"; exit 0 ;;
		*) exit 1 ;;
	esac