Files @ r4293:cbb984a32af5
Branch filter:

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

rubidium
(svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
-Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year
#!/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;