author | ymh <ymh.work@gmail.com> |
Tue, 18 Oct 2016 18:01:37 +0200 | |
changeset 364 | d065d3307805 |
parent 358 | be40e00aa56f |
child 367 | e0fb97c1e9c6 |
permissions | -rw-r--r-- |
28 | 1 |
#!/usr/bin/env sh |
358 | 2 |
PATH=/opt/remi/php56/root/usr/bin/:$PATH |
28 | 3 |
|
346
4cd0f8c936ed
upgrade build and delivery process for integration
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
4 |
if [ -x /usr/local/bin/drush ]; then |
353
bf1bc6b08c46
correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents:
346
diff
changeset
|
5 |
echo "Reactivate corpus module" |
358 | 6 |
/opt/remi/php56/root/usr/bin/php /usr/local/bin/drush -r /var/www/corpusdelaparole/drupal pm-enable -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:
346
diff
changeset
|
7 |
echo "Clear drupal cache" |
358 | 8 |
/opt/remi/php56/root/usr/bin/php /usr/local/bin/drush -r /var/www/corpusdelaparole/drupal cc all |
346
4cd0f8c936ed
upgrade build and delivery process for integration
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
9 |
fi |
4cd0f8c936ed
upgrade build and delivery process for integration
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
10 |
|
4cd0f8c936ed
upgrade build and delivery process for integration
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
11 |
echo "Restart httpd" |
28 | 12 |
/usr/bin/systemctl restart httpd |