nanox code removed.
[lbook_fbreader.git] / fbreader / scripts / install_help.sh
blob467f9350e1b740a1414638b810de5864d49f0588
1 #!/bin/sh
3 if [ $# != 2 ]; then
4 echo -e "usage\n $0 <platform> <install_dir>";
5 exit 0;
6 fi;
8 case "$1" in
9 desktop|maemo|openzaurus_640x480|pdaxrom|pepperpad3|zaurus_640x480)
10 platform=desktop;
12 moto)
13 platform=desktop;
15 opensimpad-0.9.0|qvfb)
16 platform=640x480;
18 openzaurus_240x320|pma400|zaurus_240x320)
19 platform=240x320;
21 win32)
22 platform=win32;
25 echo "$0: unknown platform \"$1\"";
26 exit 0;
28 esac;
29 installdir=$2;
31 for file in data/help/MiniHelp.$platform.*.fb2; do
32 lang=`echo $file | cut -d . -f 3`;
33 install -m 0644 $file $installdir/MiniHelp.$lang.fb2
34 done