mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2024-08-29 21:46:03 +02:00
![matthijs](/assets/img/avatar_default.png)
- Packaging files are now identical to those of the official 0.6.2-1 (or, r11138 in the collab-maint subversion repository), with the following exceptions: - Desktop files are removed, since openttd trunk installs them already. - Changes regarding package names from r14237 are preserved. - Topmost changelog entry with version 0.7~svn-1 is added.
22 lines
407 B
Bash
Executable file
22 lines
407 B
Bash
Executable file
#!/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
|