Files
@ r6178:fc8bd2bde93a
Branch filter:
Location: cpp/openttd-patchpack/source/os/debian/config - annotation
r6178:fc8bd2bde93a
413 B
text/plain
(svn r8949) -Codechange: only test the first NETWORK_REVISION_LENGTH - 1 characters when determining network compatability. This makes it possible to have 'long' branch names while still being able to play network games.
r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 r3299:3a5c45f34c50 | #!/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;
|