Files @ r5330:e2bb5820f4e5
Branch filter:

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

miham
(svn r7491) WebTranslator2 update to 2006-12-13 19:43:22
esperanto - 238 fixed, 6 changed by LaPingvino (244)
russian - 252 changed by Smoky555 (252)
#!/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;