build/pre_upgrade.sh
author ymh <ymh.work@gmail.com>
Thu, 20 Oct 2016 19:14:37 +0200
changeset 378 5b47eab083f3
parent 367 e0fb97c1e9c6
child 383 82a3db4b1d39
permissions -rw-r--r--
implement filters on stats controller, put all filter logic in CorpusFilterManager

#!/usr/bin/env sh
PATH=/opt/remi/php56/root/usr/bin/:$PATH

if [ -x /usr/local/bin/drush ]; then
    echo "Deactivate corpus module"
    /usr/local/bin/drush -r /var/www/corpusdelaparole/drupal pm-disable -y corpus
fi