fgmeta/release_builder/create_scenerypack.sh

31 lines
807 B
Bash
Raw Normal View History

2019-11-06 20:51:41 +08:00
#!/bin/bash
# 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
# 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 \
2021-01-20 21:00:10 +08:00
${SCENERY_PACK}/Airports_archive.tgz \
${SCENERY_PACK}/Models
2019-11-06 20:51:41 +08:00
rm ${SCENERY_PACK}
2021-01-20 21:00:10 +08:00
# upload to frs.sourceforge.net /home/frs/project/fl/flightgear/scenery/