-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmcip
More file actions
executable file
·29 lines (22 loc) · 780 Bytes
/
mcip
File metadata and controls
executable file
·29 lines (22 loc) · 780 Bytes
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
#!/bin/sh
if [ ! -f /home/user/.config/mcip ]
then
mkdir -p /home/user/.config/mcip
fi
if [ ! -f /home/user/.config/mcip/sysdict ]
then
cp /opt/cim/data/formated /home/user/.config/mcip/sysdict
fi
if [ ! -f /home/user/.config/mcip/view ]
then
cp -r /opt/cim/host/view /home/user/.config/mcip
fi
if [ ! -f /home/user/.config/mcip/extra ]
then
cp -r /opt/cim/host/extra /home/user/.config/mcip
fi
mkdir -p /home/user/.config/mcip
touch /home/user/.config/mcip/userdict.log
sort -r /home/user/.config/mcip/userdict.log > /home/user/.config/mcip/userdict.tmp
python /opt/cim/data/prePhrase.py /home/user/.config/mcip/userdict.tmp > /home/user/.config/mcip/userdict.log
GTK_IM_MODULE="hildon-input-method" QT_IM_MODULE="" run-standalone.sh /opt/cim/host/main