chsmack -a "User::App::Shared" ../../data/Music/*
chsmack -e "User::App::Shared" ../../data/Music/*
- mkdir -p /home/owner/content/TestFolder
- chsmack -a "User::App::Shared" /home/owner/content/TestFolder
- chsmack -e "User::App::Shared" /home/owner/content/TestFolder
- cp TestImage.jpg /home/owner/content/TestFolder/TestImage.jpg
- cp TestImage.jpg /home/owner/content/TestImage.jpg
- cp TestImage.jpg /home/owner/content/Remove.jpg
- cp -R ../../data/Images/* /home/owner/content/Images/
- cp -R ../../data/Videos/* /home/owner/content/Videos/
- cp -R ../../data/Music/* /home/owner/content/Music/
- chmod -R 777 /home/owner/content/Music
+ mkdir -p /home/owner/share/TestFolder
+ chsmack -a "User::App::Shared" /home/owner/share/TestFolder
+ chsmack -e "User::App::Shared" /home/owner/share/TestFolder
+ cp TestImage.jpg /home/owner/share/TestFolder/TestImage.jpg
+ cp TestImage.jpg /home/owner/share/TestImage.jpg
+ cp TestImage.jpg /home/owner/share/Remove.jpg
+ cp -R ../../data/Images/* /home/owner/share/Images/
+ cp -R ../../data/Videos/* /home/owner/share/Videos/
+ cp -R ../../data/Music/* /home/owner/share/Music/
+ chmod -R 777 /home/owner/share/Music
chown -R 5000:5000 ../../data
chmod -R 777 ../../data
;;
;;
"org.tizen.shortcut-native-itc")
echo "Installing pre-requisites for the package $1"
- cp icon.png /home/owner/content/icon.png
- chown -R 5000:5000 /home/owner/content/icon.png
- chmod -R 777 /home/owner/content/icon.png
- chsmack -a "User::App::Shared" /home/owner/content/icon.png
- chsmack -e "User::App::Shared" /home/owner/content/icon.png
+ cp icon.png /home/owner/share/icon.png
+ chown -R 5000:5000 /home/owner/share/icon.png
+ chmod -R 777 /home/owner/share/icon.png
+ chsmack -a "User::App::Shared" /home/owner/share/icon.png
+ chsmack -e "User::App::Shared" /home/owner/share/icon.png
;;
"org.tizen.service-adaptor-native-itc")
echo "Installing pre-requisites for the package $1"
chmod -R 777 ../../data
chsmack -a "User::App::Shared" ../../data/*
chsmack -e "User::App::Shared" ../../data/*
- cp -R PlatformPermission_test.jpg /home/owner/content/Images/PlatformPermission_test.jpg
- chmod -R 777 /home/owner/content/Images
+ cp -R PlatformPermission_test.jpg /home/owner/share/Images/PlatformPermission_test.jpg
+ chmod -R 777 /home/owner/share/Images
;;
"org.tizen.video-util-native-ctc")
echo "Installing pre-requisites for the package $1"
;;
"org.tizen.capi-media-vision-native-utc")
echo "Installing pre-requisites for the package $1"
- mkdir -p /home/owner/content/model
- chsmack -a "User::App::Shared" /home/owner/content/model
- chsmack -e "User::App::Shared" /home/owner/content/model
- cp rec/test_rec_model /home/owner/content/model/test_rec_model
- cp track/test_trk_model /home/owner/content/model/test_trk_model
- chmod -R 777 /home/owner/content/model
- chown -R 5000:5000 /home/owner/content/model
- chsmack -a "User::App::Shared" /home/owner/content/model/*
- chsmack -e "User::App::Shared" /home/owner/content/model/*
+ mkdir -p /home/owner/share/model
+ chsmack -a "User::App::Shared" /home/owner/share/model
+ chsmack -e "User::App::Shared" /home/owner/share/model
+ cp rec/test_rec_model /home/owner/share/model/test_rec_model
+ cp track/test_trk_model /home/owner/share/model/test_trk_model
+ chmod -R 777 /home/owner/share/model
+ chown -R 5000:5000 /home/owner/share/model
+ chsmack -a "User::App::Shared" /home/owner/share/model/*
+ chsmack -e "User::App::Shared" /home/owner/share/model/*
- mkdir -p /home/owner/content/res/img
- chsmack -a "User::App::Shared" /home/owner/content/res
- chsmack -e "User::App::Shared" /home/owner/content/res
- chsmack -a "User::App::Shared" /home/owner/content/res/img
- chsmack -e "User::App::Shared" /home/owner/content/res/img
- cp res/media-vision-barcodes.json /home/owner/content/res/media-vision-barcodes.json
- cp res/img/*.jpg /home/owner/content/res/img/
- cp res/img/*.raw /home/owner/content/res/img/
- chmod -R 777 /home/owner/content/res
- chown -R 5000:5000 /home/owner/content/res
- chsmack -a "User::App::Shared" /home/owner/content/res/*
- chsmack -e "User::App::Shared" /home/owner/content/res/*
- chsmack -a "User::App::Shared" /home/owner/content/res/img/*
- chsmack -e "User::App::Shared" /home/owner/content/res/img/*
+ mkdir -p /home/owner/share/res/img
+ chsmack -a "User::App::Shared" /home/owner/share/res
+ chsmack -e "User::App::Shared" /home/owner/share/res
+ chsmack -a "User::App::Shared" /home/owner/share/res/img
+ chsmack -e "User::App::Shared" /home/owner/share/res/img
+ cp res/media-vision-barcodes.json /home/owner/share/res/media-vision-barcodes.json
+ cp res/img/*.jpg /home/owner/share/res/img/
+ cp res/img/*.raw /home/owner/share/res/img/
+ chmod -R 777 /home/owner/share/res
+ chown -R 5000:5000 /home/owner/share/res
+ chsmack -a "User::App::Shared" /home/owner/share/res/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/*
+ chsmack -a "User::App::Shared" /home/owner/share/res/img/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/img/*
- mkdir -p /home/owner/content/res/rec/P1
- mkdir -p /home/owner/content/res/rec/P2
- chsmack -a "User::App::Shared" /home/owner/content/res/rec
- chsmack -e "User::App::Shared" /home/owner/content/res/rec
- chsmack -a "User::App::Shared" /home/owner/content/res/rec/P1
- chsmack -e "User::App::Shared" /home/owner/content/res/rec/P1
- chsmack -a "User::App::Shared" /home/owner/content/res/rec/P2
- chsmack -e "User::App::Shared" /home/owner/content/res/rec/P2
- cp rec/P1/*.jpg /home/owner/content/res/rec/P1/
- cp rec/P2/*.jpg /home/owner/content/res/rec/P2/
- chsmack -a "User::App::Shared" /home/owner/content/res/rec/*
- chsmack -e "User::App::Shared" /home/owner/content/res/rec/*
- chsmack -a "User::App::Shared" /home/owner/content/res/rec/P1/*
- chsmack -e "User::App::Shared" /home/owner/content/res/rec/P1/*
- chsmack -a "User::App::Shared" /home/owner/content/res/rec/P2/*
- chsmack -e "User::App::Shared" /home/owner/content/res/rec/P2/*
+ mkdir -p /home/owner/share/res/rec/P1
+ mkdir -p /home/owner/share/res/rec/P2
+ chsmack -a "User::App::Shared" /home/owner/share/res/rec
+ chsmack -e "User::App::Shared" /home/owner/share/res/rec
+ chsmack -a "User::App::Shared" /home/owner/share/res/rec/P1
+ chsmack -e "User::App::Shared" /home/owner/share/res/rec/P1
+ chsmack -a "User::App::Shared" /home/owner/share/res/rec/P2
+ chsmack -e "User::App::Shared" /home/owner/share/res/rec/P2
+ cp rec/P1/*.jpg /home/owner/share/res/rec/P1/
+ cp rec/P2/*.jpg /home/owner/share/res/rec/P2/
+ chsmack -a "User::App::Shared" /home/owner/share/res/rec/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/rec/*
+ chsmack -a "User::App::Shared" /home/owner/share/res/rec/P1/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/rec/P1/*
+ chsmack -a "User::App::Shared" /home/owner/share/res/rec/P2/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/rec/P2/*
- mkdir -p /home/owner/content/res/eye
- chsmack -a "User::App::Shared" /home/owner/content/res/eye
- chsmack -e "User::App::Shared" /home/owner/content/res/eye
- cp res/eye/*.jpg /home/owner/content/res/eye/
- chsmack -a "User::App::Shared" /home/owner/content/res/eye/*
- chsmack -e "User::App::Shared" /home/owner/content/res/eye/*
+ mkdir -p /home/owner/share/res/eye
+ chsmack -a "User::App::Shared" /home/owner/share/res/eye
+ chsmack -e "User::App::Shared" /home/owner/share/res/eye
+ cp res/eye/*.jpg /home/owner/share/res/eye/
+ chsmack -a "User::App::Shared" /home/owner/share/res/eye/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/eye/*
- mkdir -p /home/owner/content/res/expr
- chsmack -a "User::App::Shared" /home/owner/content/res/expr
- chsmack -e "User::App::Shared" /home/owner/content/res/expr
- cp res/expr/*.jpg /home/owner/content/res/expr/
- chsmack -a "User::App::Shared" /home/owner/content/res/expr/*
- chsmack -e "User::App::Shared" /home/owner/content/res/expr/*
+ mkdir -p /home/owner/share/res/expr
+ chsmack -a "User::App::Shared" /home/owner/share/res/expr
+ chsmack -e "User::App::Shared" /home/owner/share/res/expr
+ cp res/expr/*.jpg /home/owner/share/res/expr/
+ chsmack -a "User::App::Shared" /home/owner/share/res/expr/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/expr/*
- mkdir -p /home/owner/content/res/track/sequence
- chsmack -a "User::App::Shared" /home/owner/content/res/track/sequence
- chsmack -e "User::App::Shared" /home/owner/content/res/track/sequence
- cp res/track/sequence/*.jpg /home/owner/content/res/track/sequence/
- chsmack -a "User::App::Shared" /home/owner/content/res/track/sequence/*
- chsmack -e "User::App::Shared" /home/owner/content/res/track/sequence/*
+ mkdir -p /home/owner/share/res/track/sequence
+ chsmack -a "User::App::Shared" /home/owner/share/res/track/sequence
+ chsmack -e "User::App::Shared" /home/owner/share/res/track/sequence
+ cp res/track/sequence/*.jpg /home/owner/share/res/track/sequence/
+ chsmack -a "User::App::Shared" /home/owner/share/res/track/sequence/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/track/sequence/*
- mkdir -p /home/owner/content/res/facedetect
- chsmack -a "User::App::Shared" /home/owner/content/res/facedetect
- chsmack -e "User::App::Shared" /home/owner/content/res/facedetect
- cp res/facedetect/*.jpg %{buildroot}/home/owner/content/res/facedetect/
- chsmack -a "User::App::Shared" /home/owner/content/res/facedetect/*
- chsmack -e "User::App::Shared" /home/owner/content/res/facedetect/*
+ mkdir -p /home/owner/share/res/facedetect
+ chsmack -a "User::App::Shared" /home/owner/share/res/facedetect
+ chsmack -e "User::App::Shared" /home/owner/share/res/facedetect
+ cp res/facedetect/*.jpg %{buildroot}/home/owner/share/res/facedetect/
+ chsmack -a "User::App::Shared" /home/owner/share/res/facedetect/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/facedetect/*
- mkdir -p /home/owner/content/res/image
- chsmack -a "User::App::Shared" /home/owner/content/res/image
- chsmack -e "User::App::Shared" /home/owner/content/res/image
- cp res/image/*.jpg %{buildroot}/home/owner/content/res/image/
- chsmack -a "User::App::Shared" /home/owner/content/res/image/*
- chsmack -e "User::App::Shared" /home/owner/content/res/image/*
+ mkdir -p /home/owner/share/res/image
+ chsmack -a "User::App::Shared" /home/owner/share/res/image
+ chsmack -e "User::App::Shared" /home/owner/share/res/image
+ cp res/image/*.jpg %{buildroot}/home/owner/share/res/image/
+ chsmack -a "User::App::Shared" /home/owner/share/res/image/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/image/*
- mkdir -p /home/owner/content/res/image/tracking
- chsmack -a "User::App::Shared" /home/owner/content/res/image/tracking
- chsmack -e "User::App::Shared" /home/owner/content/res/image/tracking
- cp res/image/tracking/*.jpg /home/owner/content/res/image/tracking/
- chsmack -a "User::App::Shared" /home/owner/content/res/image/tracking/*
- chsmack -e "User::App::Shared" /home/owner/content/res/image/tracking/*
+ mkdir -p /home/owner/share/res/image/tracking
+ chsmack -a "User::App::Shared" /home/owner/share/res/image/tracking
+ chsmack -e "User::App::Shared" /home/owner/share/res/image/tracking
+ cp res/image/tracking/*.jpg /home/owner/share/res/image/tracking/
+ chsmack -a "User::App::Shared" /home/owner/share/res/image/tracking/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/image/tracking/*
- mkdir -p /home/owner/content/res/surv
- chsmack -a "User::App::Shared" /home/owner/content/res/surv
- chsmack -e "User::App::Shared" /home/owner/content/res/surv
- cp res/surv/* /home/owner/content/res/surv/
- chsmack -a "User::App::Shared" /home/owner/content/res/surv/*
- chsmack -e "User::App::Shared" /home/owner/content/res/surv/*
+ mkdir -p /home/owner/share/res/surv
+ chsmack -a "User::App::Shared" /home/owner/share/res/surv
+ chsmack -e "User::App::Shared" /home/owner/share/res/surv
+ cp res/surv/* /home/owner/share/res/surv/
+ chsmack -a "User::App::Shared" /home/owner/share/res/surv/*
+ chsmack -e "User::App::Shared" /home/owner/share/res/surv/*
;;
"org.tizen.capi-message-port-native-utc")
echo "Installing pre-requisites for the package $1"
chsmack -a "User::App::Shared" ../../data/*
chsmack -e "User::App::Shared" ../../data/*
;;
-esac
\ No newline at end of file
+esac