Replace Buxton with Buxton2 in post script 88/44488/1 accepted/tizen/mobile/20150723.005634 accepted/tizen/tv/20150723.005651 accepted/tizen/wearable/20150723.005709 submit/tizen/20150723.003307
authorSuchang Woo <suchang.woo@samsung.com>
Wed, 22 Jul 2015 12:30:19 +0000 (21:30 +0900)
committerSuchang Woo <suchang.woo@samsung.com>
Wed, 22 Jul 2015 12:39:47 +0000 (21:39 +0900)
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
Change-Id: I49b1f35043a0d7355266fe86e5b5f281b846cd82

scripts/generic-desktop-applications.post

index 15d274c..b5a89ca 100644 (file)
@@ -2,11 +2,8 @@
 echo "#################### generic-desktop-applications.post ####################"
 
 function generic_desktop_applications_buxton_unprotect() {
-  chsmack -a '*' /var/lib/buxton || true
-  chsmack -a '*' /var/lib/buxton/* || true
-  chmod 0777 /var/lib/buxton || true
-  chmod 0666 /var/lib/buxton/* || true
-
+  chsmack -a '*' /var/lib/buxton2 || true
+  chsmack -a '*' /var/lib/buxton2/* || true
   chmod 0777 /var/lib/buxton2 || true
   chmod 0666 /var/lib/buxton2/* || true
 }
@@ -14,11 +11,8 @@ function generic_desktop_applications_buxton_unprotect() {
 function generic_desktop_applications_buxton_protect() {
   chmod 0600 /var/lib/buxton2/* || true
   chmod 0700 /var/lib/buxton2 || true
-
-  chmod 0600 /var/lib/buxton/* || true
-  chmod 0700 /var/lib/buxton || true
-  chsmack -a System /var/lib/buxton/* || true
-  chsmack -a System /var/lib/buxton || true
+  chsmack -a System /var/lib/buxton2/* || true
+  chsmack -a System /var/lib/buxton2 || true
 }
 
 # temp workaround to fill each user app_info database with global db infos
@@ -34,7 +28,7 @@ function generic_desktop_applications_fix_userhome() {
 
        generic_base_user_exists $user || return 1
        homedir=$(generic_base_user_home $user)
-       
+
        echo "Fix app_info.db of $user"
        chown -R $user:users $homedir/.applications/dbspace/
 }