build/pre_upgrade.sh
author ymh <ymh.work@gmail.com>
Tue, 18 Oct 2016 18:09:00 +0200
changeset 365 f7f033738af4
parent 358 be40e00aa56f
child 367 e0fb97c1e9c6
permissions -rw-r--r--
Correct set version

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

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