2 # extract all necessary files from a server connect cache file
6 echo Error: connect cache json filename missing
10 if [ ! -f "$1" ]; then
11 echo Error: connect cache json file does not exist
15 thisdir=$(dirname "$0")
16 cachedir=$thisdir/../cache
18 $thisdir/extract-uitranslation.sh "$1"\
19 > "$cachedir/connect-uitranslation.min.json"
21 $thisdir/extract-popular.php "$1"\
22 > "$cachedir/popular.txt"
24 $thisdir/extract-featured.php "$1"\
25 > "$cachedir/featured.json"