Files @ r14207:f0d2dcb62e53
Branch filter:

Location: cpp/openttd-patchpack/source/os/debian/config

translators
(svn r18768) -Update from WebTranslator v3.0:
croatian - 36 changes by
czech - 4 changes by ReisRyos
dutch - 61 changes by Hirundo
finnish - 1 changes by jpx_
indonesian - 43 changes by fanioz
malay - 227 changes by toadhall
spanish - 122 changes by Terkhen
#!/bin/sh

# Source debconf library.
. /usr/share/debconf/confmodule

FILES="trg1r.grf trgcr.grf trghr.grf trgir.grf trgtr.grf sample.cat"
DATADIR=/usr/share/games/openttd/data

MISSING="No"
for FILE in $FILES; do
	# Check if all the files needed are here.
	if [ ! -e $DATADIR/$FILE ]; then
		MISSING="Yes"
		break
	fi;
done

if [ $MISSING = "Yes" ]; then
	db_input high openttd/datafiles || true
	db_go
fi