Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
drupalizer
Commits
150ad295
Commit
150ad295
authored
Apr 15, 2016
by
Ernesto Rodriguez Ortiz
Browse files
Execute hook_post_update before drush updb.
parent
260771d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
drush.py
View file @
150ad295
...
...
@@ -88,6 +88,7 @@ def updatedb():
with
h
.
fab_cd
(
role
,
env
.
docker_site_root
):
h
.
fab_run
(
role
,
'drush updatedb -y'
)
h
.
hook_execute
(
env
.
hook_post_update
,
role
)
@
task
...
...
@@ -130,7 +131,7 @@ def site_install():
if
'db_dump'
in
env
and
env
.
db_dump
is
not
False
:
c
.
db_import
(
env
.
db_dump
,
role
)
h
.
hook_execute
(
'
post_install
'
,
role
)
h
.
hook_execute
(
env
.
hook_
post_install
,
role
)
@
task
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment