author | KUDr |
Sun, 04 Mar 2007 04:25:36 +0000 | |
branch | cpp_gui |
changeset 6285 | 187e3ef04cc9 |
parent 3299 | dc38a2c6a361 |
permissions | -rwxr-xr-x |
#!/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;