2 echo "#################### generic-desktop-applications.post ####################"
4 # temp workaround to fill each user app_info database with global db infos
5 . /etc/tizen-platform.conf
9 # depends on generic-base functions
10 function generic_desktop_applications_fix_userhome() {
13 generic_base_user_exists $user || return 1
14 homedir=$(generic_base_user_home $user)
16 echo "Fix app_info.db of $user"
17 chown -R $user:users $homedir/.applications/dbspace/
21 . /etc/tizen-build.conf
22 [ "${TZ_BUILD_WITH_EMULATOR}" == "1" ] && generic_desktop_applications_fix_userhome developer