2019-11-06 20:51:41 +08:00
|
|
|
#!/bin/bash
|
2020-11-04 03:57:58 +08:00
|
|
|
|
|
|
|
# the name to create
|
|
|
|
SCENERY_PACK=SceneryPack.BIKF
|
|
|
|
|
|
|
|
# the tiles to select
|
|
|
|
TILES="w030n60/w???n??";
|
|
|
|
|
|
|
|
# tiles for PHNL for C172 tutorials
|
|
|
|
TUTORIAL_TILES="w160n[12]0/w???n??";
|
2019-11-06 20:51:41 +08:00
|
|
|
|
|
|
|
rm -f SceneryPack.*.tgz
|
2020-11-04 03:57:58 +08:00
|
|
|
|
|
|
|
# note the path to the TerraSync root here
|
|
|
|
ln -s /var/www/uk-mirror/fgscenery ${SCENERY_PACK}
|
|
|
|
|
|
|
|
tar --format=gnu --create --owner=root --group=root --gzip --file=${SCENERY_PACK}.tgz \
|
|
|
|
${SCENERY_PACK}/Objects/${TILES} \
|
|
|
|
${SCENERY_PACK}/Terrain/${TILES} \
|
|
|
|
${SCENERY_PACK}/Objects/${TUTORIAL_TILES} \
|
|
|
|
${SCENERY_PACK}/Terrain/${TUTORIAL_TILES} \
|
|
|
|
${SCENERY_PACK}/Airports/B/I/K \
|
|
|
|
${SCENERY_PACK}/Airports/P/H \
|
|
|
|
${SCENERY_PACK}/Models
|
|
|
|
|
2019-11-06 20:51:41 +08:00
|
|
|
rm ${SCENERY_PACK}
|
2020-11-04 03:57:58 +08:00
|
|
|
|
|
|
|
# upload to frs.sourceforge.net /home/frs/project/fquitfl/flightgear/scenery/
|
|
|
|
|