Commit 197b2837fdeb091ddf13c7d754f1930cd52e2969
1 parent
7bbc2e10
Exists in
master
and in
39 other branches
Verify if collectstatic command exist in spec file
Signed-off-by: Alexandre Barbosa <alexandreab@live.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
colab.spec
@@ -183,4 +183,7 @@ mkdir -p /usr/share/nginx/ | @@ -183,4 +183,7 @@ mkdir -p /usr/share/nginx/ | ||
183 | 183 | ||
184 | ln -s /var/lib/colab-assets /usr/share/nginx/colab | 184 | ln -s /var/lib/colab-assets /usr/share/nginx/colab |
185 | 185 | ||
186 | -sudo colab-admin collectstatic | 186 | +if [ -f /etc/colab/settings.yaml ]; then |
187 | + yes yes | colab-admin collectstatic | ||
188 | +fi | ||
189 | + |