From 0c6bc26382a64883de0de003c1ed3643d25ad892 Mon Sep 17 00:00:00 2001 From: brianjjones Date: Thu, 15 May 2014 13:47:05 -0700 Subject: [PATCH] Fixing spec file to create all files as app for xwalk Change-Id: Iba5f5fe6e6c6ce848c08f0f48ac581f7bce11dd6 Signed-off-by: brianjjones --- packaging/modello-installer.changes | 3 +++ packaging/modello-installer.spec | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packaging/modello-installer.changes b/packaging/modello-installer.changes index 11d38cf..97caac6 100644 --- a/packaging/modello-installer.changes +++ b/packaging/modello-installer.changes @@ -1,3 +1,6 @@ +* Thu May 15 2014 brianjjones submit/tizen_ivi/20140512.233303@cccc4a7 +- Fixing spec file to create all files as app for xwalk + * Fri May 09 2014 brianjjones submit/tizen_ivi/20140509.233232@7e92052 - Fixing paths and adding un-install section - Initial checkin diff --git a/packaging/modello-installer.spec b/packaging/modello-installer.spec index da49879..4b4cc4c 100644 --- a/packaging/modello-installer.spec +++ b/packaging/modello-installer.spec @@ -47,10 +47,10 @@ done for list2 in $(ls -d $TZ_SYS_HOME/$TZ_USER_NAME/.config/xwalk-service/applications/*/) do - mkdir -p "$list2/css" - mkdir -p "$list2/js" - cp -r $TZ_USER_APP/_common/js/services "$list2/js/" - cp -r $TZ_USER_APP/_common/css/* "$list2/css/" + su "$TZ_USER_NAME" -c "mkdir -p '$list2/css'" + su "$TZ_USER_NAME" -c "mkdir -p '$list2/js'" + su "$TZ_USER_NAME" -c "cp -r $TZ_USER_APP/_common/js/services '$list2/js/'" + su "$TZ_USER_NAME" -c "cp -r $TZ_USER_APP/_common/css/* '$list2/css/'" done %postun xwalk -- 2.7.4