diff -r 07239de796bb -r e756a8c72c3d build/post_install.sh --- a/build/post_install.sh Tue Jul 11 09:49:26 2017 +0200 +++ b/build/post_install.sh Fri Sep 08 12:04:06 2017 +0200 @@ -1,7 +1,7 @@ #!/usr/bin/env sh PATH=/opt/remi/php56/root/usr/bin/:$PATH -if [ -x /usr/local/bin/drush ]; then +if [ -x /usr/local/bin/drush ] && [ -f /var/www/corpusdelaparole/drupal/sites/default/settings.php ]; then echo "Reactivate corpus module" /usr/local/bin/drush -r /var/www/corpusdelaparole/drupal pm-enable -y corpus echo "Clear drupal cache"