spaces instead of tabs
This commit is contained in:
parent
d6c1073933
commit
4eea5da88f
1 changed files with 21 additions and 21 deletions
|
@ -15,27 +15,27 @@ fi
|
||||||
# if Spee.ch is not yet installed, copy it into web root.
|
# if Spee.ch is not yet installed, copy it into web root.
|
||||||
# This could be updated to be part of an upgrade mechanism.
|
# This could be updated to be part of an upgrade mechanism.
|
||||||
if [ ! -e '/app/config/siteConfig.json' ]; then
|
if [ ! -e '/app/config/siteConfig.json' ]; then
|
||||||
echof warn "Spee.ch doesn't appear to have a configuration."
|
echof warn "Spee.ch doesn't appear to have a configuration."
|
||||||
echof blank "Don't worry we can install it for you."
|
echof blank "Don't worry we can install it for you."
|
||||||
if [ "$(ls -A /app)" ]; then
|
if [ "$(ls -A /app)" ]; then
|
||||||
echof warn "/app is not Empty. It contains:" 1>&2
|
echof warn "/app is not Empty. It contains:" 1>&2
|
||||||
ls -A 1>&2
|
ls -A 1>&2
|
||||||
echof info "Making an attempt to nicely merge files using."
|
echof info "Making an attempt to nicely merge files using."
|
||||||
echof run "mv -fnu /usr/local/src/www.spee.ch/* /app/"
|
echof run "mv -fnu /usr/local/src/www.spee.ch/* /app/"
|
||||||
mv -fnu /usr/local/src/www.spee.ch/* /app/
|
mv -fnu /usr/local/src/www.spee.ch/* /app/
|
||||||
else
|
else
|
||||||
echof run "mv /usr/local/src/www.spee.ch/* /app/"
|
echof run "mv /usr/local/src/www.spee.ch/* /app/"
|
||||||
mv /usr/local/src/www.spee.ch/* /app/
|
mv /usr/local/src/www.spee.ch/* /app/
|
||||||
fi
|
fi
|
||||||
echo "Spee.ch installed into /app"
|
echo "Spee.ch installed into /app"
|
||||||
# change required permissions incl. for multi-lingual sites
|
# change required permissions incl. for multi-lingual sites
|
||||||
test_for_dir /app/cli 775 "speech:speech"
|
test_for_dir /app/cli 775 "speech:speech"
|
||||||
test_for_dir /app/config 775 "speech:speech"
|
test_for_dir /app/config 775 "speech:speech"
|
||||||
test_for_dir /app/lib 775 "speech:speech"
|
test_for_dir /app/lib 775 "speech:speech"
|
||||||
test_for_dir /app/public 775 "speech:speech"
|
test_for_dir /app/public 775 "speech:speech"
|
||||||
test_for_dir /app/src 775 "speech:speech"
|
test_for_dir /app/src 775 "speech:speech"
|
||||||
test_for_dir /app/utils 775 "speech:speech"
|
test_for_dir /app/utils 775 "speech:speech"
|
||||||
echof info "Copied Spee.ch and set permissions"
|
echof info "Copied Spee.ch and set permissions"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echof run 'test_for_dir /app/config/siteConfig.json 775 "speech:speech"'
|
echof run 'test_for_dir /app/config/siteConfig.json 775 "speech:speech"'
|
||||||
|
|
Loading…
Add table
Reference in a new issue