diff options
author | Baptiste DURAND <baptiste.durand@eurogiciel.fr> | 2013-07-03 17:38:16 +0200 |
---|---|---|
committer | Baptiste DURAND <baptiste.durand@eurogiciel.fr> | 2013-07-03 17:38:16 +0200 |
commit | c08d341fa3cb3dd33c3676133eda0faf973ed5e9 (patch) | |
tree | 335d44322a361c3efe027fdc113dc0f96e87c3d6 | |
parent | 9adeb8f0101327fd9998f2df518147af2203ffaf (diff) | |
download | wrt-widgets-c08d341fa3cb3dd33c3676133eda0faf973ed5e9.tar.gz wrt-widgets-c08d341fa3cb3dd33c3676133eda0faf973ed5e9.tar.bz2 wrt-widgets-c08d341fa3cb3dd33c3676133eda0faf973ed5e9.zip |
Clean script
Remove useless chsmack command
remove useless mkdir command
-rwxr-xr-x | prepare_widgets.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/prepare_widgets.sh b/prepare_widgets.sh index 34bc6a3..edff487 100755 --- a/prepare_widgets.sh +++ b/prepare_widgets.sh @@ -14,19 +14,20 @@ vconftool $GOPTION set -t string db/setting/accessibility/font_name "HelveticaNe ######################################################################## # 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 + +##### WA : To reduce database creation duration : https://review.tizen.org/gerrit/5452/ 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 _ {} \; + +##### WA : To allow multi-user launch ########## chmod -R a+rw /opt/dbspace/ |