build/pre_upgrade.sh
author ymh <ymh.work@gmail.com>
Fri, 21 Oct 2016 14:45:47 +0200
changeset 382 ea0e8417e4dc
parent 367 e0fb97c1e9c6
child 383 82a3db4b1d39
permissions -rw-r--r--
correct problem with cache
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
353
bf1bc6b08c46 correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
#!/usr/bin/env sh
358
be40e00aa56f set path in rpm upgrade scripts
ymh <ymh.work@gmail.com>
parents: 353
diff changeset
     2
PATH=/opt/remi/php56/root/usr/bin/:$PATH
353
bf1bc6b08c46 correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
bf1bc6b08c46 correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
if [ -x /usr/local/bin/drush ]; then
bf1bc6b08c46 correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
    echo "Deactivate corpus module"
367
e0fb97c1e9c6 correct build script + rpm hook scripts
ymh <ymh.work@gmail.com>
parents: 358
diff changeset
     6
    /usr/local/bin/drush -r /var/www/corpusdelaparole/drupal pm-disable -y corpus
353
bf1bc6b08c46 correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
fi