Using cp instead of mv

Disabling permissions assertion for now.
This commit is contained in:
Leopere 2018-06-05 14:20:51 -04:00
parent c0b9ec1312
commit 48a55c5939

View file

@ -121,13 +121,13 @@ function configure_speech() {
}
function final_permset() {
## Finally reassert permissions in case there is user added drift.
rddo /app "test_for_dir" '775 "speech:speech"'
rfdo /app "test_for_file" '665 "speech:speech"'
## Define any permission exceptions here.
# test_for_dir /app/config 775 "speech:speech"
# test_for_file /app/config/siteConfig.json 665 "speech:speech"
echof info "Copied Spee.ch and set permissions"
# ## Finally reassert permissions in case there is user added drift.
# rddo /app "test_for_dir" '775 "speech:speech"'
# rfdo /app "test_for_file" '665 "speech:speech"'
# ## Define any permission exceptions here.
# # test_for_dir /app/config 775 "speech:speech"
# # test_for_file /app/config/siteConfig.json 665 "speech:speech"
# echof info "Copied Spee.ch and set permissions"
}
###################################
@ -156,8 +156,8 @@ if [ "$(ls -A /app)" ]; then
else
echof info "Speech not installed, installing fresh copy now."
configure_speech
echof run "cp -rv /usr/local/src/www.spee.ch/* /app/"
cp -rv /usr/local/src/www.spee.ch/* /app/
echof run "cp -r /usr/local/src/www.spee.ch/* /app/"
cp -r /usr/local/src/www.spee.ch/* /app/
final_permset
fi