Welcome to mirror list, hosted at ThFree Co, Russian Federation.

update_assets.sh « android « tools - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 70bea1e7e1eb6aa7b617fec8fdae7b6bb4945e9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
set -x -u

SRC=../../data
DST=../../android/assets

# Remove old links
rm -rf $DST
mkdir $DST

files=(about.html basic_ldpi.skn basic_mdpi.skn basic_hdpi.skn basic_xhdpi.skn categories.txt classificator.txt 
       types.txt fonts_blacklist.txt fonts_whitelist.txt languages.txt \
       symbols_ldpi.png symbols_mdpi.png symbols_hdpi.png symbols_xhdpi.png unicode_blocks.txt \ 
       visibility.txt drules_proto.txt drules_proto.bin external_resources.txt packed_polygons.bin \
       WorldCoasts.mwm 01_dejavusans.ttf 02_wqy-microhei.ttf 03_jomolhari-id-a3d.ttf 04_padauk.ttf 05_khmeros.ttf 06_code2000.ttf)

for item in ${files[*]}
do
  ln -s $SRC/$item $DST/$item
done

# Separate case for World and countries list files without search support
ln -s $SRC/countries.txt.nosearch $DST/countries.txt
ln -s $SRC/World.mwm.nosearch $DST/World.mwm

# Call flag symlinks generation
./update_flags.sh