#!/bin/sh # A path to the WebKit's data bases and appcache dir if [ ! -d /opt/dbspace/.webkit ]; then mkdir /opt/dbspace/.webkit fi if [ ${USER} = "root" ] then #change file owner # 1. libraries chown root:root /usr/lib/libewebkit.so # 2. Resources chown root:root /usr/share/ewebkit-0/themes/default.edj chown 5000:5000 /opt/dbspace/.webkit fi #change file permissions # 1. libraries chmod 644 /usr/lib/libewebkit.so # 2. Resources chmod 644 /usr/share/ewebkit-0/themes/default.edj chmod 775 /opt/dbspace/.webkit ################################################################# # Set executin script ################################################################# echo "[WebKit-EFL] postinst done ..."