From 197b2837fdeb091ddf13c7d754f1930cd52e2969 Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro Date: Tue, 13 Jan 2015 08:17:33 -0500 Subject: [PATCH] Verify if collectstatic command exist in spec file --- colab.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/colab.spec b/colab.spec index f13017b..167d787 100644 --- a/colab.spec +++ b/colab.spec @@ -183,4 +183,7 @@ mkdir -p /usr/share/nginx/ ln -s /var/lib/colab-assets /usr/share/nginx/colab -sudo colab-admin collectstatic +if [ -f /etc/colab/settings.yaml ]; then + yes yes | colab-admin collectstatic +fi + -- libgit2 0.21.2