summaryrefslogtreecommitdiff
path: root/prepare_widgets.sh
blob: 34bc6a36e826ed412fa4e66b31aa22f22c47d4c2 (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
#!/bin/sh

##### vconf create table from settings package #########################
# Set vconf values with -g/-u options
GOPTION="-g 6514"

rm -rf /opt/data/setting/set_info

#### Bluetotth API ####################################################
vconftool $GOPTION set -t string db/menu_widget/regionformat "en_GB.UTF-8"
vconftool $GOPTION set -t int db/menu_widget/regionformat_time1224 "1"
vconftool $GOPTION set -t string db/setting/accessibility/font_name "HelveticaNeue"

########################################################################
#  PC Specific Environment settings

mkdir -p /opt/usr/apps
mkdir -p /opt/share/applications
mkdir -p /opt/share/packages
rm /opt/dbspace/.wrt*
wrt_commons_create_clean_db.sh
wrt_reset_db.sh
pkg_initdb
mkdir -p /usr/share/applications_tmp
mv /usr/share/applications/* /usr/share/applications_tmp/
mv /usr/share/applications_tmp/*tizen*.desktop /usr/share/applications/
ail_initdb
mv /usr/share/applications_tmp/* /usr/share/applications/
for d in dbspace home usr; do find /opt/$d -exec chsmack -a '*' {} \; ; done;
find  /usr/lib64/ -exec chsmack -a _ {} \;
chmod -R a+rw /opt/dbspace/