Making jammit tests in server consistent
This commit is contained in:
parent
521aa83b0c
commit
4926e185ef
1 changed files with 2 additions and 2 deletions
|
|
@ -85,13 +85,13 @@ if [ ! -e public/source.tar.gz ]; then
|
|||
fi
|
||||
|
||||
# Precache jammit assets
|
||||
if [[ -w public && ! -e public/stylesheets/application.css ]]; then
|
||||
if [[ -w public && ! -e 'public/stylesheets/application.css' ]]; then
|
||||
if [ "$INIT_PUBLIC" != 'no' ]; then
|
||||
echo "Making first-time server initialization."
|
||||
init_public
|
||||
fi
|
||||
fi
|
||||
if [ ! -e 'public/assets/main.js.gz' ]; then
|
||||
if [ ! -e 'public/stylesheets/application.css' ]; then
|
||||
echo 'Jammit precache error (now or at install)' >&2
|
||||
exit 66
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue