Rename upgrade script name
[platform/core/appfw/shortcut.git] / scripts / 507.shortcut_upgrade.sh
1 #!/bin/sh
2
3 #------------------------------------------#
4 # shortcut upgrade (2.4 -> 3.0)            #
5 #------------------------------------------#
6
7 # Macro
8 PATH=/bin:/usr/bin:/sbin:/usr/sbin
9
10 DB_DIR=/opt/dbspace
11 DB_SHORTCUT=$DB_DIR/.shortcut_service.db
12
13 chown owner:users $DB_SHORTCUT
14 chown owner:users $DB_SHORTCUT-journal
15
16 chsmack -a User::Home $DB_SHORTCUT
17 chsmack -a User::Home $DB_SHORTCUT-journal