blob: 902ee0de3f83eeb8b0f622294c561eb360bc8323 (
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
28
29
30
31
32
33
|
#!/bin/sh
if [ $# != 3 ]; then
echo -e "usage\n $0 <platform> <ui_type> <install_dir>";
exit 0;
fi;
case "$1" in
desktop|win32)
;;
macosx)
;;
maemo)
case "$2" in
maemo5)
config_file=data/default/config.maemo5.xml
;;
*)
config_file=data/default/config.maemo.xml
;;
esac;
;;
pepperpad3)
;;
zaurus_640x480)
;;
*)
;;
esac;
if [ "$config_file" != "" ]; then
install -m 0644 $config_file $3/config.xml;
fi;
|