File: bug-128254

package info (click to toggle)
quake2-data 9
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 112 kB
  • ctags: 19
  • sloc: sh: 421; exp: 106; makefile: 55
file content (16 lines) | stat: -rwxr-xr-x 327 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# bug 128254, 128559
# check that quake2-data/storage contains a value

. defaults

TEST=`grep -2 quake2-data/storage $DEBIAN/templates | grep '^Default:' | cut -f2 -d':'`

if [ -z "$TEST" ]; then
	echo No default for quake2-data/storage
	echo $0 FAILED
	exit 1
fi

# FIXME: check values for config and postinst too